diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-22 19:46:07 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-22 19:46:07 +0100 |
commit | 44f14638670f24e642d6a971bfd44dff59466b3c (patch) | |
tree | 3f08a038d92885d6e0a7c8d015501c8396305ea3 /src | |
parent | Merge pull request #2601 (diff) | |
download | monero-44f14638670f24e642d6a971bfd44dff59466b3c.tar.xz |
wallet2: fix tx size estimator for large number of inputs
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 cc0e9e7e2..646a8f6d4 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -4751,7 +4751,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; // MGs - size += n_inputs * (32 * (mixin+1) + 32); + size += n_inputs * (64 * (mixin+1) + 32); // mixRing - not serialized, can be reconstructed /* size += 2 * 32 * (mixin+1) * n_inputs; */ |