diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-11 17:29:54 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-11 17:31:18 +0000 |
commit | 2c221d1b6cec868e6e7f5fc56811895691260121 (patch) | |
tree | 5990afb72990495d1e9744321d8556e210d8d53f /src/wallet/wallet2.cpp | |
parent | Merge pull request #5386 (diff) | |
download | monero-2c221d1b6cec868e6e7f5fc56811895691260121.tar.xz |
wallet2: update estimate_rct_tx_size for smaller rct proofs
Diffstat (limited to 'src/wallet/wallet2.cpp')
-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 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 |