fix CDSNotificationInterface::UpdatedBlockTip signature (#1562)

to match the one in CValidationInterface
This commit is contained in:
UdjinM6 2017-08-04 20:43:48 +03:00 committed by GitHub
parent 415085c732
commit 87707c0127
2 changed files with 8 additions and 8 deletions

View File

@ -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); mnodeman.UpdatedBlockTip(pindexNew);
privateSendClient.UpdatedBlockTip(pindex); privateSendClient.UpdatedBlockTip(pindexNew);
instantsend.UpdatedBlockTip(pindex); instantsend.UpdatedBlockTip(pindexNew);
mnpayments.UpdatedBlockTip(pindex); mnpayments.UpdatedBlockTip(pindexNew);
governance.UpdatedBlockTip(pindex); governance.UpdatedBlockTip(pindexNew);
masternodeSync.UpdatedBlockTip(pindex); masternodeSync.UpdatedBlockTip(pindexNew);
} }
void CDSNotificationInterface::SyncTransaction(const CTransaction &tx, const CBlock *pblock) void CDSNotificationInterface::SyncTransaction(const CTransaction &tx, const CBlock *pblock)

View File

@ -16,7 +16,7 @@ public:
protected: protected:
// CValidationInterface // CValidationInterface
void UpdatedBlockTip(const CBlockIndex *pindex); void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload);
void SyncTransaction(const CTransaction &tx, const CBlock *pblock); void SyncTransaction(const CTransaction &tx, const CBlock *pblock);
private: private: