Irrespective of the failure reason, un-marking fInMempool out-of-order is incorrect - it should be unmarked when TransactionRemovedFromMempool fires.
Clean up of #11839, which I think was the wrong fix.
Irrespective of the failure reason, un-marking fInMempool out-of-order is incorrect - it should be unmarked when TransactionRemovedFromMempool fires.
Clean up of #11839, which I think was the wrong fix.
Irrespective of the failure reason, un-marking fInMempool
out-of-order is incorrect - it should be unmarked when
TransactionRemovedFromMempool fires.
Exactly, no reason to double-check when ATMP is going to check it for us anyway.
But in the ATMP context being in the mempool is an error, and IMO we shouldn't hit that.
Its no different from a mempool conflict of any other form, and the error is discarded/not printed almost everywhere in wallet (and where it may be, we want the state object to be populated with the appropriate error, not ignored). Worse, its weirdly race-y, with wallet checking something and then calling something else which will check the same thing but with the appropriate locks.
utACK 6ef86c92e7fcba866160d7a346fb260d7e4ab5bb
utACK