Compare commits

...

1 Commits

Author SHA1 Message Date
auruya
b1dc2b795d add check_tx_type_and_version check to block verification 2026-03-10 13:22:21 +03:00

View File

@@ -5583,6 +5583,18 @@ leave:
}
}
#endif
// Check the TX type
tx_verification_context tvc;
if (!check_tx_type_and_version(tx, tvc)) {
MERROR("Block with id: " << id << " failed to pass transaction type and version check for transaction id: " << tx_id);
bvc.m_verifivation_failed = true;
return_tx_to_pool(txs);
goto leave;
}
TIME_MEASURE_FINISH(cc);
t_checktx += cc;
fee_summary += fee;