From a5557e0902c80b7db302956fca483b70b052e958 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Fri, 8 Mar 2019 09:48:09 -0500 Subject: [PATCH] always use current intro for reply --- llarp/service/endpoint.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/llarp/service/endpoint.cpp b/llarp/service/endpoint.cpp index 9daf9c202..bff3ae6cb 100644 --- a/llarp/service/endpoint.cpp +++ b/llarp/service/endpoint.cpp @@ -1884,11 +1884,8 @@ namespace llarp { ProtocolMessage m; m.proto = t; - if(!m_DataHandler->GetReplyIntroFor(f.T, m.introReply)) - { - m_DataHandler->PutReplyIntroFor(f.T, path->intro); - m.introReply = path->intro; - } + m_DataHandler->PutReplyIntroFor(f.T, path->intro); + m.introReply = path->intro; m_DataHandler->PutIntroFor(f.T, remoteIntro); m.sender = m_Endpoint->m_Identity.pub; m.PutBuffer(payload);