in outbound context, ShouldBuildMore intro.ExpiresSoon delta is too big and has no overlap, change it so that

pull/1669/head
Jeff Becker 3 years ago
parent e48feb8b9a
commit d9cae4a6c6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -444,7 +444,7 @@ namespace llarp
ForEachPath([now, &numValidPaths](path::Path_ptr path) {
if (not path->IsReady())
return;
if (not path->intro.ExpiresSoon(now, path::default_lifetime - path::intro_path_spread))
if (not path->intro.ExpiresSoon(now, path::intro_path_spread))
numValidPaths++;
});
return numValidPaths < numDesiredPaths;

Loading…
Cancel
Save