mirror of
https://github.com/monero-project/monero.git
synced 2024-12-22 19:49:30 +00:00
Merge pull request #2708
076d8237
wallet2: fix tx size estimator for large number of inputs (moneromooo-monero)
This commit is contained in:
commit
0f7de8f2de
1 changed files with 1 additions and 1 deletions
|
@ -4179,7 +4179,7 @@ static size_t estimate_rct_tx_size(int n_inputs, int mixin, int n_outputs)
|
||||||
size += (2*64*32+32+64*32) * n_outputs;
|
size += (2*64*32+32+64*32) * n_outputs;
|
||||||
|
|
||||||
// MGs
|
// MGs
|
||||||
size += n_inputs * (32 * (mixin+1) + 32);
|
size += n_inputs * (64 * (mixin+1) + 32);
|
||||||
|
|
||||||
// mixRing - not serialized, can be reconstructed
|
// mixRing - not serialized, can be reconstructed
|
||||||
/* size += 2 * 32 * (mixin+1) * n_inputs; */
|
/* size += 2 * 32 * (mixin+1) * n_inputs; */
|
||||||
|
|
Loading…
Reference in a new issue