From 6480ad1d5f729ac277bae68d7c436434d5bcda4b Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 25 Nov 2018 16:35:52 +0300 Subject: [PATCH] Should check dsq queue regardless of the mixing state (#2491) --- src/privatesend-client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/privatesend-client.cpp b/src/privatesend-client.cpp index 556c063fb..9249ee094 100644 --- a/src/privatesend-client.cpp +++ b/src/privatesend-client.cpp @@ -448,10 +448,11 @@ bool CPrivateSendClientSession::CheckTimeout() void CPrivateSendClientManager::CheckTimeout() { if (fMasternodeMode) return; - if (!fEnablePrivateSend) return; CheckQueue(); + if (!fEnablePrivateSend) return; + LOCK(cs_deqsessions); for (auto& session : deqSessions) { if (session.CheckTimeout()) {