@@ -67,7 +67,7 @@ void CDSNotificationInterface::SynchronousUpdatedBlockTip(const CBlockIndex *pin
6767
6868void CDSNotificationInterface::UpdatedBlockTip (const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload )
6969{
70- assert (m_cj_ctx && ::dstxManager && m_llmq_ctx);
70+ assert (m_cj_ctx && m_llmq_ctx);
7171
7272 if (pindexNew == pindexFork) // blocks were disconnected without any new ones
7373 return ;
@@ -80,7 +80,7 @@ void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, con
8080 if (fInitialDownload )
8181 return ;
8282
83- ::dstxManager ->UpdatedBlockTip (pindexNew, *m_llmq_ctx->clhandler , m_mn_sync);
83+ m_cj_ctx-> dstxman ->UpdatedBlockTip (pindexNew, *m_llmq_ctx->clhandler , m_mn_sync);
8484#ifdef ENABLE_WALLET
8585 for (auto & pair : m_cj_ctx->walletman ->raw ()) {
8686 pair.second ->UpdatedBlockTip (pindexNew);
@@ -99,11 +99,11 @@ void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, con
9999
100100void CDSNotificationInterface::TransactionAddedToMempool (const CTransactionRef& ptx, int64_t nAcceptTime)
101101{
102- assert (m_llmq_ctx && ::dstxManager );
102+ assert (m_cj_ctx && m_llmq_ctx );
103103
104104 m_llmq_ctx->isman ->TransactionAddedToMempool (ptx);
105105 m_llmq_ctx->clhandler ->TransactionAddedToMempool (ptx, nAcceptTime);
106- ::dstxManager ->TransactionAddedToMempool (ptx);
106+ m_cj_ctx-> dstxman ->TransactionAddedToMempool (ptx);
107107}
108108
109109void CDSNotificationInterface::TransactionRemovedFromMempool (const CTransactionRef& ptx, MemPoolRemovalReason reason)
@@ -115,20 +115,20 @@ void CDSNotificationInterface::TransactionRemovedFromMempool(const CTransactionR
115115
116116void CDSNotificationInterface::BlockConnected (const std::shared_ptr<const CBlock>& pblock, const CBlockIndex* pindex)
117117{
118- assert (m_llmq_ctx && ::dstxManager );
118+ assert (m_cj_ctx && m_llmq_ctx );
119119
120120 m_llmq_ctx->isman ->BlockConnected (pblock, pindex);
121121 m_llmq_ctx->clhandler ->BlockConnected (pblock, pindex);
122- ::dstxManager ->BlockConnected (pblock, pindex);
122+ m_cj_ctx-> dstxman ->BlockConnected (pblock, pindex);
123123}
124124
125125void CDSNotificationInterface::BlockDisconnected (const std::shared_ptr<const CBlock>& pblock, const CBlockIndex* pindexDisconnected)
126126{
127- assert (m_llmq_ctx && ::dstxManager );
127+ assert (m_cj_ctx && m_llmq_ctx );
128128
129129 m_llmq_ctx->isman ->BlockDisconnected (pblock, pindexDisconnected);
130130 m_llmq_ctx->clhandler ->BlockDisconnected (pblock, pindexDisconnected);
131- ::dstxManager ->BlockDisconnected (pblock, pindexDisconnected);
131+ m_cj_ctx-> dstxman ->BlockDisconnected (pblock, pindexDisconnected);
132132}
133133
134134void CDSNotificationInterface::NotifyMasternodeListChanged (bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff)
@@ -139,8 +139,8 @@ void CDSNotificationInterface::NotifyMasternodeListChanged(bool undo, const CDet
139139
140140void CDSNotificationInterface::NotifyChainLock (const CBlockIndex* pindex, const std::shared_ptr<const llmq::CChainLockSig>& clsig)
141141{
142- assert (m_llmq_ctx && ::dstxManager );
142+ assert (m_cj_ctx && m_llmq_ctx );
143143
144144 m_llmq_ctx->isman ->NotifyChainLock (pindex);
145- ::dstxManager ->NotifyChainLock (pindex, *m_llmq_ctx->clhandler , m_mn_sync);
145+ m_cj_ctx-> dstxman ->NotifyChainLock (pindex, *m_llmq_ctx->clhandler , m_mn_sync);
146146}
0 commit comments