aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-08-24 13:19:59 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-27 17:24:31 +0200
commitfae5bd920007c33de0b794bf2b2d698bfccc12ee (patch)
treebd0c19692c93ffbebd07076ae5f4cd7d6139e199 /test
parent15692e2641592394bdd4da0a7c2d371de8e576dd (diff)
downloadbitcoin-fae5bd920007c33de0b794bf2b2d698bfccc12ee.tar.xz
test: Fix wallet_balance intermittent issue
Fix it by removing a duplicate balance check on the same node.
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/wallet_balance.py1
1 files changed, 0 insertions, 1 deletions
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'])