Add missing implementations for chainlock and instantsend notifications in NotificationsHandlerImpl (#4580)

A follow-up to 10973 backport dashpay/dash@438c93bd9a merged via #4558
This commit is contained in:
UdjinM6 2021-11-24 15:04:59 +03:00 committed by GitHub
parent 649273e703
commit 1aefe95b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,6 +228,14 @@ public:
auto locked_chain = m_chain.assumeLocked();
m_notifications->ResendWalletTransactions(*locked_chain, best_block_time);
}
void NotifyChainLock(const CBlockIndex* pindexChainLock, const std::shared_ptr<const llmq::CChainLockSig>& clsig) override
{
m_notifications->NotifyChainLock(pindexChainLock, clsig);
}
void NotifyTransactionLock(const CTransactionRef &tx, const std::shared_ptr<const llmq::CInstantSendLock>& islock) override
{
m_notifications->NotifyTransactionLock(tx, islock);
}
Chain& m_chain;
Chain::Notifications* m_notifications;
};