mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
blockchain: some debug info when adding txes-from-block fails
This commit is contained in:
parent
4308a2e173
commit
631ef00e76
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue