Should check dsq queue regardless of the mixing state (#2491)

This commit is contained in:
UdjinM6 2018-11-25 16:35:52 +03:00 committed by GitHub
parent 66612cc4b5
commit 6480ad1d5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -448,10 +448,11 @@ bool CPrivateSendClientSession::CheckTimeout()
void CPrivateSendClientManager::CheckTimeout() void CPrivateSendClientManager::CheckTimeout()
{ {
if (fMasternodeMode) return; if (fMasternodeMode) return;
if (!fEnablePrivateSend) return;
CheckQueue(); CheckQueue();
if (!fEnablePrivateSend) return;
LOCK(cs_deqsessions); LOCK(cs_deqsessions);
for (auto& session : deqSessions) { for (auto& session : deqSessions) {
if (session.CheckTimeout()) { if (session.CheckTimeout()) {