HomePhabricator

Fix that CWallet::AbandonTransaction would only traverse one level

Description

Fix that CWallet::AbandonTransaction would only traverse one level

Summary:
Prior to this change, it would mark only the first layer of
child transactions abandoned, due to always following the input hashTx
rather than the current now tx.

Backport of Core PR13652

Test Plan:

make check && ./test/functional/test_runner.py

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1978

Details

Provenance
Ben Woosley <ben.woosley@gmail.com>Authored on Jul 12 2018, 21:19
schancelCommitted on Oct 29 2018, 23:45
schancelPushed on Oct 29 2018, 23:45
Reviewer
Restricted Project
Differential Revision
D1978: Fix that CWallet::AbandonTransaction would only traverse one level
Parents
rABCb07ed750c42e: Use a numeric verbosity with getblock RPC to allow retrieval of the raw…
Branches
Unknown
Tags
Unknown