aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-11 17:29:54 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-11 17:31:18 +0000
commit2c221d1b6cec868e6e7f5fc56811895691260121 (patch)
tree5990afb72990495d1e9744321d8556e210d8d53f /src/wallet/wallet2.cpp
parentMerge pull request #5386 (diff)
downloadmonero-2c221d1b6cec868e6e7f5fc56811895691260121.tar.xz
wallet2: update estimate_rct_tx_size for smaller rct proofs
Diffstat (limited to '')
-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 dfcc61426..17558fc97 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -788,7 +788,7 @@ size_t estimate_rct_tx_size(int n_inputs, int mixin, int n_outputs, size_t extra
// pseudoOuts
size += 32 * n_inputs;
// ecdhInfo
- size += 2 * 32 * n_outputs;
+ size += 8 * n_outputs;
// outPk - only commitment is saved
size += 32 * n_outputs;
// txnFee