From 87707c0127dcf4657c4aa0fef62a60a773403c6c Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 4 Aug 2017 20:43:48 +0300 Subject: [PATCH] fix CDSNotificationInterface::UpdatedBlockTip signature (#1562) to match the one in CValidationInterface --- src/dsnotificationinterface.cpp | 14 +++++++------- src/dsnotificationinterface.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) 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: