wallet2: update estimate_rct_tx_size for smaller rct proofs

This commit is contained in:
moneromooo-monero 2019-04-11 17:29:54 +00:00
parent 9c77dbf376
commit 2c221d1b6c
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -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