Merge pull request #9854

c7f01e57f Blockchain: remove skip for pruned txs in `check_tx_inputs()` (jeffro256)
This commit is contained in:
tobtoht 2025-03-24 02:56:51 +00:00
commit 4b7263d587
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -3258,10 +3258,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();