From 1aefe95b02a0643266c426841ab6626844fff4ed Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 24 Nov 2021 15:04:59 +0300 Subject: [PATCH] Add missing implementations for chainlock and instantsend notifications in NotificationsHandlerImpl (#4580) A follow-up to 10973 backport dashpay/dash@438c93bd9a285fb07598ea58603abb0531f48429 merged via #4558 --- src/interfaces/chain.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp index 8bb117b2c5..8047578108 100644 --- a/src/interfaces/chain.cpp +++ b/src/interfaces/chain.cpp @@ -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& clsig) override + { + m_notifications->NotifyChainLock(pindexChainLock, clsig); + } + void NotifyTransactionLock(const CTransactionRef &tx, const std::shared_ptr& islock) override + { + m_notifications->NotifyTransactionLock(tx, islock); + } Chain& m_chain; Chain::Notifications* m_notifications; };