mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 10:23:01 +02:00
rpc, wallet: add abandoned
field for all categories of transactions in ListTransactions
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user