aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-09-09 15:21:10 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-09-09 15:21:10 -0400
commita39b1d56c8835798e2f5e3cc43c33b5f2d8e13da (patch)
treecadb1d75dd7bc2b6be7ff5d8a8fbeaaf1cd83b7b /src/wallet/wallet2.cpp
parentMerge pull request #7898 (diff)
parentwallet: fix unused lambda capture warning (diff)
downloadmonero-a39b1d56c8835798e2f5e3cc43c33b5f2d8e13da.tar.xz
Merge pull request #7899
cd76eb7 wallet: fix unused lambda capture warning (selsta)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index f7be7499e..5a4cafc32 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -2862,7 +2862,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 cryptonote::transaction& tx = parsed_blocks[i].block.miner_tx;
const size_t n_vouts = (m_refresh_type == RefreshType::RefreshOptimizeCoinbase && tx.version < 2) ? 1 : tx.vout.size();
- tpool.submit(&waiter, [&, i, n_vouts, txidx](){ geniod(tx, n_vouts, txidx); }, true);
+ tpool.submit(&waiter, [&, n_vouts, txidx](){ geniod(tx, n_vouts, txidx); }, true);
}
++txidx;
for (size_t j = 0; j < parsed_blocks[i].txes.size(); ++j)