diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:31:15 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:31:15 +0200 |
commit | 1bebe99496b7ddc360dfe327cfc171cd10184425 (patch) | |
tree | a2b1f01e542802b1db496325e8a165ddedd82e17 /src | |
parent | Merge pull request #4883 (diff) | |
parent | wallet2: add n_vouts to capture list (diff) | |
download | monero-1bebe99496b7ddc360dfe327cfc171cd10184425.tar.xz |
Merge pull request #4884
56e616e8 wallet2: add n_vouts to capture list (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 498addad5..627eafe8c 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2169,7 +2169,7 @@ void wallet2::process_parsed_blocks(uint64_t start_height, const std::vector<cry { THROW_WALLET_EXCEPTION_IF(txidx >= tx_cache_data.size(), error::wallet_internal_error, "txidx out of range"); const size_t n_vouts = m_refresh_type == RefreshType::RefreshOptimizeCoinbase ? 1 : parsed_blocks[i].block.miner_tx.vout.size(); - tpool.submit(&waiter, [&, i, txidx](){ geniod(parsed_blocks[i].block.miner_tx, n_vouts, txidx); }, true); + tpool.submit(&waiter, [&, i, n_vouts, txidx](){ geniod(parsed_blocks[i].block.miner_tx, n_vouts, txidx); }, true); } ++txidx; for (size_t j = 0; j < parsed_blocks[i].txes.size(); ++j) |