Merge #9196: Send tip change notification from invalidateblock

67c6326 Send tip change notification from invalidateblock (Russell Yanofsky)
This commit is contained in:
Wladimir J. van der Laan 2016-11-23 08:40:13 +01:00
commit 7e2bfd6241
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

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