diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-23 08:40:13 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-23 08:40:20 +0100 |
commit | 7e2bfd62419f01ba7632634c2f53f3e1d0f6d15d (patch) | |
tree | 6450a02613ab970a6f5dd37b81ef0b81c1156540 | |
parent | 791b58d148abb6b6147adbd576e3e814edb714fa (diff) | |
parent | 67c6326abd1788e6f411feb4f44b69774e76aae2 (diff) |
Merge #9196: Send tip change notification from invalidateblock
67c6326 Send tip change notification from invalidateblock (Russell Yanofsky)
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 62f96a64ae..723f9c2421 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3202,6 +3202,7 @@ bool InvalidateBlock(CValidationState& state, const CChainParams& chainparams, C InvalidChainFound(pindex); mempool.removeForReorg(pcoinsTip, chainActive.Tip()->nHeight + 1, STANDARD_LOCKTIME_VERIFY_FLAGS); + uiInterface.NotifyBlockTip(IsInitialBlockDownload(), pindex->pprev); return true; } |