Fix removal of time-locked transactions during reorg

This commit is contained in:
Matt Corallo
2015-08-26 18:58:17 -07:00
committed by Jack Grigg
parent b0f8c83f95
commit f5b35d2305
3 changed files with 17 additions and 12 deletions

View File

@@ -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);
}