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);
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)

View File

@ -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: