Skip to content

Commit fae5bd9

Browse files
author
MacroFake
committed
test: Fix wallet_balance intermittent issue
Fix it by removing a duplicate balance check on the same node.
1 parent 15692e2 commit fae5bd9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/functional/wallet_balance.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ def test_balances(*, fee_node_1=0):
266266
self.nodes[1].invalidateblock(block_reorg)
267267
assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted
268268
self.generatetoaddress(self.nodes[0], 1, ADDRESS_WATCHONLY, sync_fun=self.no_op)
269-
assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted
270269

271270
# Now confirm tx_orig
272271
self.restart_node(1, ['-persistmempool=0'])

0 commit comments

Comments
 (0)