Skip to content

Commit 7eacdc5

Browse files
committed
Shift coverage from getunconfirmedbalance to getbalances in wallet_abandonconflict tests
1 parent 3e6f737 commit 7eacdc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/wallet_abandonconflict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def run_test(self):
110110
assert_equal(newbalance, balance - signed3_change)
111111
# Unconfirmed received funds that are not in mempool, also shouldn't show
112112
# up in unconfirmed balance
113-
unconfbalance = self.nodes[0].getunconfirmedbalance() + self.nodes[0].getbalance()
114-
assert_equal(unconfbalance, newbalance)
113+
balances = self.nodes[0].getbalances()['mine']
114+
assert_equal(balances['untrusted_pending'] + balances['trusted'], newbalance)
115115
# Also shouldn't show up in listunspent
116116
assert not txABC2 in [utxo["txid"] for utxo in self.nodes[0].listunspent(0)]
117117
balance = newbalance

0 commit comments

Comments
 (0)