diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-06-01 22:06:54 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-06-01 22:06:54 -0500 |
commit | 381f8f5e24281dc5cdf45ae99fb280b64f1e938f (patch) | |
tree | db9a33a69a93a6862db2059153519487f0f89037 /src/cryptonote_core | |
parent | Merge pull request #7705 (diff) | |
parent | Warnings: unused variable in core/blockchain.cpp (diff) | |
download | monero-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.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"); |