From fae5bd920007c33de0b794bf2b2d698bfccc12ee Mon Sep 17 00:00:00 2001 From: MacroFake Date: Wed, 24 Aug 2022 13:19:59 +0200 Subject: test: Fix wallet_balance intermittent issue Fix it by removing a duplicate balance check on the same node. --- test/functional/wallet_balance.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/functional/wallet_balance.py b/test/functional/wallet_balance.py index d2ed97ca76..ec58ace4a2 100755 --- a/test/functional/wallet_balance.py +++ b/test/functional/wallet_balance.py @@ -266,7 +266,6 @@ class WalletTest(BitcoinTestFramework): self.nodes[1].invalidateblock(block_reorg) assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted self.generatetoaddress(self.nodes[0], 1, ADDRESS_WATCHONLY, sync_fun=self.no_op) - assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted # Now confirm tx_orig self.restart_node(1, ['-persistmempool=0']) -- cgit v1.2.3