Merge pull request #9845

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

View File

@ -3268,10 +3268,6 @@ bool Blockchain::check_tx_inputs(transaction& tx, tx_verification_context &tvc,
if(pmax_used_block_height)
*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);
const uint8_t hf_version = m_hardfork->get_current_version();