diff options
author | mj-xmr <mjxmr@protonmail.com> | 2021-05-08 09:00:57 +0200 |
---|---|---|
committer | mj-xmr <mjxmr@protonmail.com> | 2021-05-08 12:04:19 +0200 |
commit | a1c4307128c75b1e0920b4633fa6a7321cfc70af (patch) | |
tree | 9f71791ba0e43c161e4c344264b845b859009ee3 /src | |
parent | Merge pull request #7669 (diff) | |
download | monero-a1c4307128c75b1e0920b4633fa6a7321cfc70af.tar.xz |
Warnings: unused variable in core/blockchain.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index a3d695b85..e0335a814 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -5150,7 +5150,7 @@ bool Blockchain::prepare_handle_incoming_blocks(const std::vector<block_complete if (m_cancel) return false; - for (const auto &tx_blob : entry.txs) + for (size_t i = 0; i < entry.txs.size(); ++i) { if (tx_index >= txes.size()) SCAN_TABLE_QUIT("tx_index is out of sync"); |