From cedc840185fbfa32ec19b368efbb68c19f4e97b8 Mon Sep 17 00:00:00 2001 From: subtly Date: Mon, 13 Apr 2015 15:23:22 -0400 Subject: [PATCH] defer failure when H of pubk doesn't match (reverts back to release functionality where assert() is skipped) --- libp2p/RLPxHandshake.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libp2p/RLPxHandshake.cpp b/libp2p/RLPxHandshake.cpp index d437ae839..bb9af2ef7 100644 --- a/libp2p/RLPxHandshake.cpp +++ b/libp2p/RLPxHandshake.cpp @@ -95,10 +95,7 @@ void RLPXHandshake::readAuth() m_remoteEphemeral = recover(*(Signature*)sig.data(), sharedSecret ^ m_remoteNonce); if (sha3(m_remoteEphemeral) != *(h256*)hepubk.data()) - { clog(NetConnect) << "p2p.connect.ingress auth failed (invalid: hash mismatch) for" << m_socket->remoteEndpoint(); - m_nextState = Error; - } transition(); }