aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-04 23:16:41 +0200
committerJaquee <jaquee.monero@gmail.com>2017-10-15 17:54:14 +0200
commitbba5cbed8f177ccceb1ca40e8d2a0e653d10ce50 (patch)
tree56bbfa3bc8bd8ef60ce4ea5006fb40d91d2c5562 /src
parentwallet2: create_transactions_2 lightwallet support (diff)
downloadmonero-bba5cbed8f177ccceb1ca40e8d2a0e653d10ce50.tar.xz
wallet2: remove obsolete get_num_rct_outputs() call from create_transactions_2
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index c387375ad..4d3445e94 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -5437,7 +5437,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_2(std::vector<cryp
std::vector<size_t> preferred_inputs;
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
- 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
// will get us a known fee.