aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_abandonconflict.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-03-27 17:21:14 +0100
committerJon Atack <jon@atack.com>2020-04-05 19:40:25 +0200
commit7eacdc5167c8db94df84e206db85817bc64e4921 (patch)
tree5c5e701a576c64f9b9d34c539c371301a554961a /test/functional/wallet_abandonconflict.py
parent3e6f7377f600e47e5e3d439fc5d6ccf3db210038 (diff)
downloadbitcoin-7eacdc5167c8db94df84e206db85817bc64e4921.tar.xz
Shift coverage from getunconfirmedbalance to getbalances in wallet_abandonconflict tests
Diffstat (limited to 'test/functional/wallet_abandonconflict.py')
-rwxr-xr-xtest/functional/wallet_abandonconflict.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_abandonconflict.py b/test/functional/wallet_abandonconflict.py
index 1122daaf83..d63ab28d61 100755
--- a/test/functional/wallet_abandonconflict.py
+++ b/test/functional/wallet_abandonconflict.py
@@ -110,8 +110,8 @@ class AbandonConflictTest(BitcoinTestFramework):
assert_equal(newbalance, balance - signed3_change)
# Unconfirmed received funds that are not in mempool, also shouldn't show
# up in unconfirmed balance
- unconfbalance = self.nodes[0].getunconfirmedbalance() + self.nodes[0].getbalance()
- assert_equal(unconfbalance, newbalance)
+ balances = self.nodes[0].getbalances()['mine']
+ assert_equal(balances['untrusted_pending'] + balances['trusted'], newbalance)
# Also shouldn't show up in listunspent
assert not txABC2 in [utxo["txid"] for utxo in self.nodes[0].listunspent(0)]
balance = newbalance