From f84ecf579e0477f754b0f1ec5a7ba89ca43f54ae Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 3 Jun 2025 01:38:55 +0200 Subject: [PATCH] improved condition in tx_memory_pool::is_transaction_ready_to_go() limited to >=HF4 to please old tests --- src/currency_core/tx_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/currency_core/tx_pool.cpp b/src/currency_core/tx_pool.cpp index 2f04158c..924f1fa7 100644 --- a/src/currency_core/tx_pool.cpp +++ b/src/currency_core/tx_pool.cpp @@ -959,7 +959,7 @@ namespace currency } } - if (m_blockchain.get_current_blockchain_size() < txd.max_used_block_height + CURRENCY_HF4_MANDATORY_MIN_COINAGE) // coinage rule since HF4, s.a. scan_outputkeys_for_indexes() + if (txd.tx.version > TRANSACTION_VERSION_PRE_HF4 && m_blockchain.get_current_blockchain_size() < txd.max_used_block_height + CURRENCY_HF4_MANDATORY_MIN_COINAGE) // coinage rule since HF4, s.a. scan_outputkeys_for_indexes() return false; //if we here, transaction seems valid, but, anyway, check for key_images collisions with blockchain, just to be sure