pull/1105/head
Jeff Becker 4 years ago
parent 9aeee37347
commit c9866b6a0b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -369,9 +369,7 @@ namespace llarp
if(path->IsReady()) if(path->IsReady())
t = std::max(path->ExpireTime(), t); t = std::max(path->ExpireTime(), t);
}); });
if(t <= now) return t >= now + path::default_lifetime / 4;
return canBuild;
return canBuild && t - now >= path::default_lifetime / 4;
} }
bool bool

Loading…
Cancel
Save