Warnings: unused variable in core/blockchain.cpp

This commit is contained in:
mj-xmr 2021-05-08 09:00:57 +02:00
parent 0a1ddc2eff
commit a1c4307128
No known key found for this signature in database
GPG Key ID: C101BF94093451E0

View File

@ -5150,7 +5150,7 @@ bool Blockchain::prepare_handle_incoming_blocks(const std::vector<block_complete
if (m_cancel) if (m_cancel)
return false; return false;
for (const auto &tx_blob : entry.txs) for (size_t i = 0; i < entry.txs.size(); ++i)
{ {
if (tx_index >= txes.size()) if (tx_index >= txes.size())
SCAN_TABLE_QUIT("tx_index is out of sync"); SCAN_TABLE_QUIT("tx_index is out of sync");