Skip to content

Commit 7e2bfd6

Browse files
committed
Merge #9196: Send tip change notification from invalidateblock
67c6326 Send tip change notification from invalidateblock (Russell Yanofsky)
2 parents 791b58d + 67c6326 commit 7e2bfd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3202,6 +3202,7 @@ bool InvalidateBlock(CValidationState& state, const CChainParams& chainparams, C
32023202

32033203
InvalidChainFound(pindex);
32043204
mempool.removeForReorg(pcoinsTip, chainActive.Tip()->nHeight + 1, STANDARD_LOCKTIME_VERIFY_FLAGS);
3205+
uiInterface.NotifyBlockTip(IsInitialBlockDownload(), pindex->pprev);
32053206
return true;
32063207
}
32073208

0 commit comments

Comments
 (0)