diff options
author | Andrew Chow <github@achow101.com> | 2023-04-26 08:41:35 -0400 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2023-04-26 08:50:56 -0400 |
commit | 91ccb62faab21b2b52b089cc04f3a5c1bf6989cc (patch) | |
tree | c4a15c0bb2b678e2812fe5f966a86b92f49aa13b /test/functional | |
parent | bdfe27c9d2f2e28239b361d9f0b78501054fe41e (diff) | |
parent | 0c520679ab5f0ba99584cb356ec28ef089f14735 (diff) | |
download | bitcoin-91ccb62faab21b2b52b089cc04f3a5c1bf6989cc.tar.xz |
Merge bitcoin/bitcoin#25158: rpc, wallet: add abandoned field for all categories of transaction in ListTransaction
0c520679ab5f0ba99584cb356ec28ef089f14735 doc: add release notes for `abandoned` field in `gettransaction` and `listtransactions` (brunoerg)
a1aaa7f51f4205ae4d27fbceb2c3a97bc114e828 rpc, wallet: add `abandoned` field for all categories of transactions in ListTransactions (brunoerg)
Pull request description:
Fixes #25130
ACKs for top commit:
achow101:
re-ACK 0c520679ab5f0ba99584cb356ec28ef089f14735
Tree-SHA512: 1864460d76decab7898737c96517d722055eb8f81ca52248fe1035723258c6cd4a93251e06a86ecbbb0b0a80af1466b2c86fb142ace4ccb74cc40d5dc3967d7f
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/wallet_bumpfee.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index 2260af1d57..5ed7b0ccaa 100755 --- a/test/functional/wallet_bumpfee.py +++ b/test/functional/wallet_bumpfee.py @@ -589,6 +589,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() |