mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
wallet2: remove obsolete get_num_rct_outputs() call from create_transactions_2
This commit is contained in:
parent
7a482f302b
commit
bba5cbed8f
1 changed files with 1 additions and 1 deletions
|
@ -5437,7 +5437,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_2(std::vector<cryp
|
||||||
std::vector<size_t> preferred_inputs;
|
std::vector<size_t> preferred_inputs;
|
||||||
uint64_t rct_outs_needed = 2 * (fake_outs_count + 1);
|
uint64_t rct_outs_needed = 2 * (fake_outs_count + 1);
|
||||||
rct_outs_needed += 100; // some fudge factor since we don't know how many are locked
|
rct_outs_needed += 100; // some fudge factor since we don't know how many are locked
|
||||||
if (use_rct && get_num_rct_outputs() >= rct_outs_needed)
|
if (use_rct)
|
||||||
{
|
{
|
||||||
// this is used to build a tx that's 1 or 2 inputs, and 2 outputs, which
|
// this is used to build a tx that's 1 or 2 inputs, and 2 outputs, which
|
||||||
// will get us a known fee.
|
// will get us a known fee.
|
||||||
|
|
Loading…
Reference in a new issue