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 | 96696d1e75c202b7770cfd5a2a44b5b79e380a34 (diff) | |
| parent | 2c221d1b6cec868e6e7f5fc56811895691260121 (diff) | |
| download | monzero-core-8966ac314c01715bede8c2e8e4d0a896d3edc3d5.tar.gz monzero-core-8966ac314c01715bede8c2e8e4d0a896d3edc3d5.tar.xz monzero-core-8966ac314c01715bede8c2e8e4d0a896d3edc3d5.zip | |
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 |
