kill log statements

This commit is contained in:
Jeff 2022-07-26 09:45:58 -04:00
parent 3337125110
commit cc2b4df676
No known key found for this signature in database
GPG Key ID: 025C02EE3A092F2D
1 changed files with 4 additions and 9 deletions

View File

@ -475,15 +475,10 @@ namespace llarp
"netid mismatch: '", netID, "' (theirs) != '", NetID::DefaultValue(), "' (ours)");
return false;
}
if (IsExpired(now))
{
if (!allowExpired)
{
llarp::LogError("RC is expired");
return false;
}
llarp::LogWarn("RC is expired");
}
if (IsExpired(now) and not allowExpired)
return false;
for (const auto& a : addrs)
{
if (IsBogon(a.ip) && BlockBogons)