aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-16 22:38:11 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-16 22:38:11 +0200
commit8966ac314c01715bede8c2e8e4d0a896d3edc3d5 (patch)
treea8ef89858c86780b5912e41c74b4b4217dfaa8fb /src/wallet/wallet2.cpp
parentMerge pull request #5418 (diff)
parentwallet2: update estimate_rct_tx_size for smaller rct proofs (diff)
downloadmonero-8966ac314c01715bede8c2e8e4d0a896d3edc3d5.tar.xz
Merge pull request #5422
2c221d1b wallet2: update estimate_rct_tx_size for smaller rct proofs (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-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 204b8810f..b0e1400fa 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -792,7 +792,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