diff --git a/src/dsnotificationinterface.cpp b/src/dsnotificationinterface.cpp index 9f8b51c7f..3063b7875 100644 --- a/src/dsnotificationinterface.cpp +++ b/src/dsnotificationinterface.cpp @@ -18,14 +18,14 @@ CDSNotificationInterface::~CDSNotificationInterface() { } -void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindex) +void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) { - mnodeman.UpdatedBlockTip(pindex); - privateSendClient.UpdatedBlockTip(pindex); - instantsend.UpdatedBlockTip(pindex); - mnpayments.UpdatedBlockTip(pindex); - governance.UpdatedBlockTip(pindex); - masternodeSync.UpdatedBlockTip(pindex); + mnodeman.UpdatedBlockTip(pindexNew); + privateSendClient.UpdatedBlockTip(pindexNew); + instantsend.UpdatedBlockTip(pindexNew); + mnpayments.UpdatedBlockTip(pindexNew); + governance.UpdatedBlockTip(pindexNew); + masternodeSync.UpdatedBlockTip(pindexNew); } void CDSNotificationInterface::SyncTransaction(const CTransaction &tx, const CBlock *pblock) diff --git a/src/dsnotificationinterface.h b/src/dsnotificationinterface.h index 68b40dd26..f2d47207f 100644 --- a/src/dsnotificationinterface.h +++ b/src/dsnotificationinterface.h @@ -16,7 +16,7 @@ public: protected: // CValidationInterface - void UpdatedBlockTip(const CBlockIndex *pindex); + void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload); void SyncTransaction(const CTransaction &tx, const CBlock *pblock); private: