mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
wallet: fix unused lambda capture warning
This commit is contained in:
parent
8fde011dbe
commit
cd76eb7b8c
@ -2860,7 +2860,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");
|
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 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();
|
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;
|
++txidx;
|
||||||
for (size_t j = 0; j < parsed_blocks[i].txes.size(); ++j)
|
for (size_t j = 0; j < parsed_blocks[i].txes.size(); ++j)
|
||||||
|
Loading…
Reference in New Issue
Block a user