Merge pull request #5422

2c221d1b wallet2: update estimate_rct_tx_size for smaller rct proofs (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-04-16 22:38:11 +02:00
commit 8966ac314c
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -792,7 +792,7 @@ size_t estimate_rct_tx_size(int n_inputs, int mixin, int n_outputs, size_t extra
// pseudoOuts // pseudoOuts
size += 32 * n_inputs; size += 32 * n_inputs;
// ecdhInfo // ecdhInfo
size += 2 * 32 * n_outputs; size += 8 * n_outputs;
// outPk - only commitment is saved // outPk - only commitment is saved
size += 32 * n_outputs; size += 32 * n_outputs;
// txnFee // txnFee