aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-03-24 02:56:51 +0000
committertobtoht <tob@featherwallet.org>2025-03-24 02:56:51 +0000
commit4b7263d5879c6f8da4f4466829cdf640e57de4c1 (patch)
treeef2cbc4f621b64837672abf268594bb7286222f9 /src
parentf373684b41c3ed2857d92c6827135e83be83f645 (diff)
parentc7f01e57f5a86331b38e5cded4488bec46bb2e6f (diff)
downloadmonzero-core-4b7263d5879c6f8da4f4466829cdf640e57de4c1.tar.gz
monzero-core-4b7263d5879c6f8da4f4466829cdf640e57de4c1.tar.xz
monzero-core-4b7263d5879c6f8da4f4466829cdf640e57de4c1.zip
Merge pull request #9854
c7f01e57f Blockchain: remove skip for pruned txs in `check_tx_inputs()` (jeffro256)
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/blockchain.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 021492ad2..4ecb34786 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -3258,10 +3258,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();