diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:38:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:38:11 +0200 |
commit | 8966ac314c01715bede8c2e8e4d0a896d3edc3d5 (patch) | |
tree | a8ef89858c86780b5912e41c74b4b4217dfaa8fb /src | |
parent | Merge pull request #5418 (diff) | |
parent | wallet2: update estimate_rct_tx_size for smaller rct proofs (diff) | |
download | monero-8966ac314c01715bede8c2e8e4d0a896d3edc3d5.tar.xz |
Merge pull request #5422
2c221d1b wallet2: update estimate_rct_tx_size for smaller rct proofs (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
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 |