mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
fix validationinterface.cpp
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
3eb80fdcd5
commit
37580b0ba3
@ -159,7 +159,7 @@ void CMainSignals::UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockInd
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CMainSignals::TransactionAddedToMempool(const CTransactionRef &ptx, int64_t nAcceptTime) {
|
void CMainSignals::TransactionAddedToMempool(const CTransactionRef &ptx, int64_t nAcceptTime) {
|
||||||
m_internals->m_schedulerClient.AddToProcessQueue([ptx, this] {
|
m_internals->m_schedulerClient.AddToProcessQueue([ptx, nAcceptTime, this] {
|
||||||
m_internals->TransactionAddedToMempool(ptx, nAcceptTime);
|
m_internals->TransactionAddedToMempool(ptx, nAcceptTime);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -171,7 +171,7 @@ void CMainSignals::BlockConnected(const std::shared_ptr<const CBlock> &pblock, c
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CMainSignals::BlockDisconnected(const std::shared_ptr<const CBlock> &pblock, const CBlockIndex* pindexDisconnected) {
|
void CMainSignals::BlockDisconnected(const std::shared_ptr<const CBlock> &pblock, const CBlockIndex* pindexDisconnected) {
|
||||||
m_internals->m_schedulerClient.AddToProcessQueue([pblock, this] {
|
m_internals->m_schedulerClient.AddToProcessQueue([pblock, pindexDisconnected, this] {
|
||||||
m_internals->BlockDisconnected(pblock, pindexDisconnected);
|
m_internals->BlockDisconnected(pblock, pindexDisconnected);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user