diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-09-30 11:07:54 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-09-30 11:08:30 +0200 |
| commit | 4f44530bc38fb8367c2b9bde21492b545e7f7f26 (patch) | |
| tree | 53145a92262745270cfda20578a317e24a749973 /src/zmq/zmqnotificationinterface.cpp | |
| parent | Merge pull request #6740 (diff) | |
| parent | use CBlockIndex* insted of uint256 for UpdatedBlockTip signal (diff) | |
| download | discoin-4f44530bc38fb8367c2b9bde21492b545e7f7f26.tar.xz discoin-4f44530bc38fb8367c2b9bde21492b545e7f7f26.zip | |
Merge pull request #6680
d76a8ac use CBlockIndex* insted of uint256 for UpdatedBlockTip signal (Jonas Schnelli)
Diffstat (limited to 'src/zmq/zmqnotificationinterface.cpp')
| -rw-r--r-- | src/zmq/zmqnotificationinterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zmq/zmqnotificationinterface.cpp b/src/zmq/zmqnotificationinterface.cpp index 71ccb59a4..388b86707 100644 --- a/src/zmq/zmqnotificationinterface.cpp +++ b/src/zmq/zmqnotificationinterface.cpp @@ -120,12 +120,12 @@ void CZMQNotificationInterface::Shutdown() } } -void CZMQNotificationInterface::UpdatedBlockTip(const uint256 &hash) +void CZMQNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindex) { for (std::list<CZMQAbstractNotifier*>::iterator i = notifiers.begin(); i!=notifiers.end(); ) { CZMQAbstractNotifier *notifier = *i; - if (notifier->NotifyBlock(hash)) + if (notifier->NotifyBlock(pindex)) { i++; } |