|
|
|
@ -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;
|
|
|
|
|