Fix removal of time-locked transactions during reorg
This commit is contained in:
@@ -2457,7 +2457,7 @@ bool static DisconnectTip(CValidationState &state, bool fBare = false) {
|
||||
// in which case we don't want to evict from the mempool yet!
|
||||
mempool.removeWithAnchor(anchorBeforeDisconnect);
|
||||
}
|
||||
mempool.removeCoinbaseSpends(pcoinsTip, pindexDelete->nHeight);
|
||||
mempool.removeForReorg(pcoinsTip, pindexDelete->nHeight);
|
||||
mempool.check(pcoinsTip);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user