diff options
author | Matt Corallo <git@bluematt.me> | 2016-10-04 13:52:57 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-10-04 13:52:57 -0400 |
commit | 12ee1fe018e99bba6c2b74940ece3b39a45ed8d3 (patch) | |
tree | cf210f0f9b50cd210ef7b0490e184145e7300400 /src/zmq | |
parent | f5efa283931ce1d52c59234b58988a221d42ecb4 (diff) |
Always call UpdatedBlockTip, even if blocks were only disconnected
Diffstat (limited to 'src/zmq')
-rw-r--r-- | src/zmq/zmqnotificationinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq/zmqnotificationinterface.cpp b/src/zmq/zmqnotificationinterface.cpp index 020cdfbdc7..a0196fe184 100644 --- a/src/zmq/zmqnotificationinterface.cpp +++ b/src/zmq/zmqnotificationinterface.cpp @@ -126,7 +126,7 @@ void CZMQNotificationInterface::Shutdown() void CZMQNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) { - if (fInitialDownload) + if (fInitialDownload || pindexNew == pindexFork) // In IBD or blocks were disconnected without any new ones return; for (std::list<CZMQAbstractNotifier*>::iterator i = notifiers.begin(); i!=notifiers.end(); ) |