diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index add47f52..6306d3ac 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -869,6 +869,13 @@ namespace currency return true; } + if (m_p2p.get_payload_object().get_core().get_blockchain_storage().is_pre_hardfork_tx_freeze_period_active()) + { + LOG_PRINT_L0("[on_send_raw_tx]: pre hardfork freeze period is in effect, sending transactions is not allowed till the next hardfork. Please, try again after the hardfork activation."); + res.status = API_RETURN_CODE_BUSY; + return true; + } + currency_connection_context fake_context = AUTO_VAL_INIT(fake_context); tx_verification_context tvc = AUTO_VAL_INIT(tvc); if(!m_core.handle_incoming_tx(tx_blob, tvc, false))