Fix sync reset on lack of activity (#1686)
This commit is contained in:
parent
32ad53e77d
commit
28c8d17292
@ -160,6 +160,7 @@ void CMasternodeSync::ProcessTick(CConnman& connman)
|
|||||||
LogPrintf("CMasternodeSync::HasSyncFailures -- WARNING: no actions for too long, restarting sync...\n");
|
LogPrintf("CMasternodeSync::HasSyncFailures -- WARNING: no actions for too long, restarting sync...\n");
|
||||||
Reset();
|
Reset();
|
||||||
SwitchToNextAsset(connman);
|
SwitchToNextAsset(connman);
|
||||||
|
nTimeLastProcess = GetTime();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
nTimeLastProcess = GetTime();
|
nTimeLastProcess = GetTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user