Skip to content

Commit

Permalink
Fix: rpc_rawtransaction.py test
Browse files Browse the repository at this point in the history
  • Loading branch information
meherett committed Jun 12, 2024
1 parent e86d8cd commit 629a524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/rpc_rawtransaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def getrawtransaction_verbosity_tests(self):
# check that verbosity 2 for a mempool tx will fallback to verbosity 1
# Do this with a pruned chain, as a regression test for https://github.com/bitcoin/bitcoin/pull/29003
self.generate(self.nodes[2], 400)
assert_greater_than(self.nodes[2].pruneblockchain(250), 0)
assert_greater_than(self.nodes[2].pruneblockchain(2500), 0)
mempool_tx = self.wallet.send_self_transfer(from_node=self.nodes[2], fee_rate=Decimal("0.004"))['txid']
gottx = self.nodes[2].getrawtransaction(txid=mempool_tx, verbosity=2)
assert 'fee' not in gottx
Expand Down

0 comments on commit 629a524

Please sign in to comment.