diff options
| author | tobtoht <tob@featherwallet.org> | 2025-03-24 02:56:51 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2025-03-24 02:56:51 +0000 |
| commit | 4b7263d5879c6f8da4f4466829cdf640e57de4c1 (patch) | |
| tree | ef2cbc4f621b64837672abf268594bb7286222f9 /src/cryptonote_core | |
| parent | f373684b41c3ed2857d92c6827135e83be83f645 (diff) | |
| parent | c7f01e57f5a86331b38e5cded4488bec46bb2e6f (diff) | |
| download | monzero-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/cryptonote_core')
| -rw-r--r-- | src/cryptonote_core/blockchain.cpp | 4 |
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(); |
