mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Shift coverage from getunconfirmedbalance to getbalances in wallet_abandonconflict tests
This commit is contained in:
parent
3e6f7377f6
commit
7eacdc5167
1 changed files with 2 additions and 2 deletions
|
|
@ -110,8 +110,8 @@ class AbandonConflictTest(BitcoinTestFramework):
|
||||||
assert_equal(newbalance, balance - signed3_change)
|
assert_equal(newbalance, balance - signed3_change)
|
||||||
# Unconfirmed received funds that are not in mempool, also shouldn't show
|
# Unconfirmed received funds that are not in mempool, also shouldn't show
|
||||||
# up in unconfirmed balance
|
# up in unconfirmed balance
|
||||||
unconfbalance = self.nodes[0].getunconfirmedbalance() + self.nodes[0].getbalance()
|
balances = self.nodes[0].getbalances()['mine']
|
||||||
assert_equal(unconfbalance, newbalance)
|
assert_equal(balances['untrusted_pending'] + balances['trusted'], newbalance)
|
||||||
# Also shouldn't show up in listunspent
|
# Also shouldn't show up in listunspent
|
||||||
assert not txABC2 in [utxo["txid"] for utxo in self.nodes[0].listunspent(0)]
|
assert not txABC2 in [utxo["txid"] for utxo in self.nodes[0].listunspent(0)]
|
||||||
balance = newbalance
|
balance = newbalance
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue