From 6ab3678f5c27ea7d6351732e9982e6f987a5f1d1 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Fri, 28 Jun 2019 11:39:54 -0400 Subject: [PATCH] correct comparison --- llarp/service/outbound_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/service/outbound_context.cpp b/llarp/service/outbound_context.cpp index 7bb884417..1dc3a6571 100644 --- a/llarp/service/outbound_context.cpp +++ b/llarp/service/outbound_context.cpp @@ -334,7 +334,7 @@ namespace llarp }); if(t <= now) return should; - return should && t - now < path::default_lifetime / 2; + return should && t - now >= path::default_lifetime / 2; } bool