This commit is contained in:
Adam Ierymenko 2019-08-28 13:44:15 -07:00
parent 807cc9afc3
commit 64f7185e3a
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -130,7 +130,7 @@ static void handlePacket(const int sock,const InetAddress *const ip,const Packet
peer.set(new PeerInfo);
if (self.agree(id,peer->key)) {
if (pkt.dearmor(peer->key)) {
if (id.locallyValidate()) {
if (true) {
peer->id = id;
{
std::lock_guard<std::mutex> pbi_l(peersByIdentity_l);