Address Jeff's comment

pull/690/head
Michael 5 years ago
parent 488695047f
commit 99798a74e1
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -98,7 +98,7 @@ namespace llarp
auto lastPing = path->LastRemoteActivityAt();
if(lastPing == 0 || (now > lastPing && now - lastPing > timeout))
return now > m_LastActive && now - m_LastActive > timeout;
if(lastPing)
else if(lastPing) // NOLINT
return now > lastPing && now - lastPing > timeout;
return lastPing > 0;
}

Loading…
Cancel
Save