1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

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