mirror of
https://github.com/monero-project/monero.git
synced 2025-12-11 17:41:28 +09:00
Merge pull request #9845
51a72c120 Blockchain: remove skip for pruned txs in `check_tx_inputs()` (jeffro256)
This commit is contained in:
commit
ba77342faa
@ -3268,10 +3268,6 @@ bool Blockchain::check_tx_inputs(transaction& tx, tx_verification_context &tvc,
|
|||||||
if(pmax_used_block_height)
|
if(pmax_used_block_height)
|
||||||
*pmax_used_block_height = 0;
|
*pmax_used_block_height = 0;
|
||||||
|
|
||||||
// pruned txes are skipped, as they're only allowed in sync-pruned-blocks mode, which is within the builtin hashes
|
|
||||||
if (tx.pruned)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
crypto::hash tx_prefix_hash = get_transaction_prefix_hash(tx);
|
crypto::hash tx_prefix_hash = get_transaction_prefix_hash(tx);
|
||||||
|
|
||||||
const uint8_t hf_version = m_hardfork->get_current_version();
|
const uint8_t hf_version = m_hardfork->get_current_version();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user