Should check dsq queue regardless of the mixing state (#2491)
This commit is contained in:
parent
66612cc4b5
commit
6480ad1d5f
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user