aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_bumpfee.py
diff options
context:
space:
mode:
authorbrunoerg <brunoely.gc@gmail.com>2022-05-16 17:58:19 -0300
committerbrunoerg <brunoely.gc@gmail.com>2023-01-13 10:29:00 -0300
commita1aaa7f51f4205ae4d27fbceb2c3a97bc114e828 (patch)
treed8a2799e93f3155f92666fc3b22e8f8df0d1fbf4 /test/functional/wallet_bumpfee.py
parent296e88225096125b08665b97715c5b8ebb1d28ec (diff)
rpc, wallet: add `abandoned` field for all categories of transactions in ListTransactions
Diffstat (limited to 'test/functional/wallet_bumpfee.py')
-rwxr-xr-xtest/functional/wallet_bumpfee.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py
index 1cb3f434e8..f1e7869d91 100755
--- a/test/functional/wallet_bumpfee.py
+++ b/test/functional/wallet_bumpfee.py
@@ -539,6 +539,11 @@ def test_unconfirmed_not_spendable(self, rbf_node, rbf_node_address):
# Call abandon to make sure the wallet doesn't attempt to resubmit
# the bump tx and hope the wallet does not rebroadcast before we call.
rbf_node.abandontransaction(bumpid)
+
+ tx_bump_abandoned = rbf_node.gettransaction(bumpid)
+ for tx in tx_bump_abandoned['details']:
+ assert_equal(tx['abandoned'], True)
+
assert bumpid not in rbf_node.getrawmempool()
assert rbfid in rbf_node.getrawmempool()