From 37580b0ba35ab70bc01431351418bc71c0613d2a Mon Sep 17 00:00:00 2001 From: Pasta Date: Wed, 12 Feb 2020 20:49:34 -0600 Subject: [PATCH] fix validationinterface.cpp Signed-off-by: Pasta --- src/validationinterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/validationinterface.cpp b/src/validationinterface.cpp index 143d35f6aa..36b544ea9b 100644 --- a/src/validationinterface.cpp +++ b/src/validationinterface.cpp @@ -159,7 +159,7 @@ void CMainSignals::UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockInd } 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); }); } @@ -171,7 +171,7 @@ void CMainSignals::BlockConnected(const std::shared_ptr &pblock, c } void CMainSignals::BlockDisconnected(const std::shared_ptr &pblock, const CBlockIndex* pindexDisconnected) { - m_internals->m_schedulerClient.AddToProcessQueue([pblock, this] { + m_internals->m_schedulerClient.AddToProcessQueue([pblock, pindexDisconnected, this] { m_internals->BlockDisconnected(pblock, pindexDisconnected); }); }