From f1ff2472409f08f2ca26306db3ba30430d667ad3 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Wed, 27 Feb 2019 21:11:52 -0800 Subject: [PATCH] convert pubKey to RouterID --- llarp/router/router.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llarp/router/router.cpp b/llarp/router/router.cpp index eed4877e2..8790351b4 100644 --- a/llarp/router/router.cpp +++ b/llarp/router/router.cpp @@ -1231,7 +1231,8 @@ namespace llarp { if(lokinetRouters.find(rc.pubkey) == lokinetRouters.end()) { - LogInfo(rc.pubkey, " is NOT a valid service node, rejecting"); + RouterID sn(rc.pubkey); + LogInfo(sn, " is NOT a valid service node, rejecting"); link->CloseSessionTo(rc.pubkey); return; }