aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-06-01 22:06:54 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-06-01 22:06:54 -0500
commit381f8f5e24281dc5cdf45ae99fb280b64f1e938f (patch)
treedb9a33a69a93a6862db2059153519487f0f89037 /src/cryptonote_core
parentMerge pull request #7705 (diff)
parentWarnings: unused variable in core/blockchain.cpp (diff)
downloadmonero-381f8f5e24281dc5cdf45ae99fb280b64f1e938f.tar.xz
Merge pull request #7709
a1c4307 Warnings: unused variable in core/blockchain.cpp (mj-xmr)
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");