From f67668f0a6ad000546d3a765f302fc719babe464 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 3 Mar 2021 18:42:10 -0500 Subject: [PATCH] use lowest latency path for send context --- llarp/service/sendcontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/service/sendcontext.cpp b/llarp/service/sendcontext.cpp index 4bbf9db65..e27f2b819 100644 --- a/llarp/service/sendcontext.cpp +++ b/llarp/service/sendcontext.cpp @@ -74,7 +74,7 @@ namespace llarp f->T = currentConvoTag; f->S = ++sequenceNo; - auto path = m_PathSet->GetRandomPathByRouter(remoteIntro.router); + auto path = m_PathSet->GetPathByRouter(remoteIntro.router); if (!path) { LogWarn(m_Endpoint->Name(), " cannot encrypt and send: no path for intro ", remoteIntro);