aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2015-08-26 18:58:17 -0700
committerSuhas Daftuar <sdaftuar@gmail.com>2015-11-30 13:02:04 -0500
commit9b060e5cfb0d185b553b21ae19d390f81e83bd4d (patch)
tree102cf99621b43a118cc0239990bf5a25614f43d6 /src/main.cpp
parent0c9959a3081328f1a8f4d9a5d27d1559b6ede561 (diff)
Fix removal of time-locked transactions during reorg
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 55b0517349..3422c56cfc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2350,7 +2350,7 @@ bool static DisconnectTip(CValidationState& state, const Consensus::Params& cons
// UpdateTransactionsFromBlock finds descendants of any transactions in this
// block that were added back and cleans up the mempool state.
mempool.UpdateTransactionsFromBlock(vHashUpdate);
- mempool.removeCoinbaseSpends(pcoinsTip, pindexDelete->nHeight);
+ mempool.removeForReorg(pcoinsTip, pindexDelete->nHeight);
mempool.check(pcoinsTip);
// Update chainActive and related variables.
UpdateTip(pindexDelete->pprev);