aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-05-08 09:00:57 +0200
committermj-xmr <mjxmr@protonmail.com>2021-05-08 12:04:19 +0200
commita1c4307128c75b1e0920b4633fa6a7321cfc70af (patch)
tree9f71791ba0e43c161e4c344264b845b859009ee3 /src/cryptonote_core
parentMerge pull request #7669 (diff)
downloadmonero-a1c4307128c75b1e0920b4633fa6a7321cfc70af.tar.xz
Warnings: unused variable in core/blockchain.cpp
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
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");