mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
fix
This commit is contained in:
parent
3df8dc0f22
commit
bb71f1483a
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ namespace llarp
|
|||
if(!path)
|
||||
return true;
|
||||
auto lastPing = path->LastRemoteActivityAt();
|
||||
if(lastPing == 0 || now > lastPing && now - lastPing > timeout)
|
||||
if(lastPing == 0 || ( now > lastPing && now - lastPing > timeout))
|
||||
return now > m_LastActive && now - m_LastActive > timeout;
|
||||
else if(lastPing)
|
||||
return now > lastPing && now - lastPing > timeout;
|
||||
|
|
Loading…
Reference in a new issue