Skip to content

Commit

Permalink
[QA] Fix random failure in wallet_abandonconflict.py
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Jul 8, 2021
1 parent 33c9aa1 commit 0221d5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/functional/wallet_abandonconflict.py
Expand Up @@ -88,11 +88,12 @@ def run_test(self):

# Restart the node with a higher min relay fee so the parent tx is no longer in mempool
# TODO: redo with eviction
self.stop_node(0)
self.start_node(0, extra_args=["-minrelaytxfee=0.0001"])
self.restart_node(0, extra_args=["-minrelaytxfee=0.0001"])
assert self.nodes[0].getmempoolinfo()['loaded']

# Verify txs no longer in mempool
# Verify txs no longer in either node's mempool
assert_equal(len(self.nodes[0].getrawmempool()), 0)
assert_equal(len(self.nodes[1].getrawmempool()), 0)

# Not in mempool txs from self should only reduce balance
# inputs are still spent, but change not received
Expand Down

0 comments on commit 0221d5a

Please sign in to comment.