forked from lthn/blockchain
improved condition in tx_memory_pool::is_transaction_ready_to_go() limited to >=HF4 to please old tests
This commit is contained in:
parent
7fb2fcc188
commit
f84ecf579e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue