blockchain: some debug info when adding txes-from-block fails

pull/200/head
moneromooo-monero 6 years ago
parent 4308a2e173
commit 631ef00e76
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -3688,6 +3688,8 @@ leave:
//TODO: why is this done? make sure that keeping invalid blocks makes sense.
add_block_as_invalid(bl, id);
MERROR_VER("Block with id " << id << " added as invalid because of wrong inputs in transactions");
MERROR_VER("tx_index " << tx_index << ", m_blocks_txs_check " << m_blocks_txs_check.size() << ":");
for (const auto &h: m_blocks_txs_check) MERROR_VER(" " << h);
bvc.m_verifivation_failed = true;
return_tx_to_pool(txs);
goto leave;

Loading…
Cancel
Save