convert pubKey to RouterID

This commit is contained in:
Ryan Tharp 2019-02-27 21:11:52 -08:00
parent 6e4e6c997e
commit f1ff247240

View File

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