Browse Source

The root technically does not need to do this, and its slow.

Adam Ierymenko 5 years ago
parent
commit
e44d7a553f
1 changed files with 0 additions and 4 deletions
  1. 0 4
      root/root.cpp

+ 0 - 4
root/root.cpp

@@ -282,10 +282,6 @@ static void handlePacket(const int v4s,const int v6s,const InetAddress *const ip
 						printf("%s HELLO rejected: decompression failed" ZT_EOL_S,ip->toString(ipstr));
 						return;
 					}
-					if (!id.locallyValidate()) { // this is more time consuming so check others first
-						printf("%s HELLO rejected: identity local validation failed" ZT_EOL_S,ip->toString(ipstr));
-						return;
-					}
 
 					peer->id = id;
 					peer->lastReceive = now;