Browse Source

Merge #9196: Send tip change notification from invalidateblock

67c6326 Send tip change notification from invalidateblock (Russell Yanofsky)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
7e2bfd6241
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/main.cpp

1
src/main.cpp

@ -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…
Cancel
Save