Merge #9196: Send tip change notification from invalidateblock
67c6326
Send tip change notification from invalidateblock (Russell Yanofsky)
This commit is contained in:
commit
7e2bfd6241
1 changed files with 1 additions and 0 deletions
|
@ -3202,6 +3202,7 @@ bool InvalidateBlock(CValidationState& state, const CChainParams& chainparams, C
|
||||||
|
|
||||||
InvalidChainFound(pindex);
|
InvalidChainFound(pindex);
|
||||||
mempool.removeForReorg(pcoinsTip, chainActive.Tip()->nHeight + 1, STANDARD_LOCKTIME_VERIFY_FLAGS);
|
mempool.removeForReorg(pcoinsTip, chainActive.Tip()->nHeight + 1, STANDARD_LOCKTIME_VERIFY_FLAGS);
|
||||||
|
uiInterface.NotifyBlockTip(IsInitialBlockDownload(), pindex->pprev);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue