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

This commit is contained in:
Jeff Becker 2021-06-15 17:25:19 -04:00
parent e48feb8b9a
commit d9cae4a6c6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 1 additions and 1 deletions

View File

@ -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;