diff options
author | Antoine Riard <ariard@student.42.fr> | 2019-08-15 11:42:16 -0400 |
---|---|---|
committer | Antoine Riard <ariard@student.42.fr> | 2019-08-23 14:53:23 -0400 |
commit | 7e89994133725125dddbfa8d45484e3b9ed51c6e (patch) | |
tree | 91559665e653857ad3a9c03e718bdf13f654009d /test/functional/wallet_reorgsrestore.py | |
parent | a31be09bfd77eed497a8e251d31358e16e2f2eb1 (diff) |
Remove SyncTransaction for conflicted txn in CWallet::BlockConnected
We shouldn't rely on this sync call to get an accurate view of txn
state, if a tx conflicts with one in mapTx we are going to update
our wallet dependencies in AddToWalletIfInvolvingMe while conflicting
txn get connected. If it doesn't conflict with one of our dependencies
we are not going to track it anyway.
This is a cleanup, as this SyncTransaction is redundant with the
following one for confirmation which is triggering the MarkConflicted
logic. We keep the loop because set of conflicted txn isn't same as txn
included in block.
Diffstat (limited to 'test/functional/wallet_reorgsrestore.py')
0 files changed, 0 insertions, 0 deletions