Merge pull request #7709

a1c4307 Warnings: unused variable in core/blockchain.cpp (mj-xmr)
This commit is contained in:
luigi1111 2021-06-01 22:06:54 -05:00
commit 381f8f5e24
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

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");