aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2015-08-26 18:58:17 -0700
committerSuhas Daftuar <[email protected]>2015-11-30 13:02:04 -0500
commit9b060e5cfb0d185b553b21ae19d390f81e83bd4d (patch)
tree102cf99621b43a118cc0239990bf5a25614f43d6 /src/main.cpp
parentAdd failing test checking timelocked-txn removal during reorg (diff)
downloaddiscoin-9b060e5cfb0d185b553b21ae19d390f81e83bd4d.tar.xz
discoin-9b060e5cfb0d185b553b21ae19d390f81e83bd4d.zip
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 55b051734..3422c56cf 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);