diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 4e71bace2..d1335f133 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -5589,6 +5589,16 @@ 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;