mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
Update server.go
This commit is contained in:
parent
35960264e0
commit
fd020d92f0
1 changed files with 0 additions and 1 deletions
|
|
@ -911,7 +911,6 @@ func (srv *Server) setupConn(c *conn, dialDest *enode.Node) error {
|
|||
phs, err := c.doProtoHandshake(srv.ourHandshake)
|
||||
if err != nil {
|
||||
clog.Trace("Failed p2p handshake", "err", err)
|
||||
//Wrapping both errors for later inspection
|
||||
return &protoHandshakeError{err: err}
|
||||
}
|
||||
if id := c.node.ID(); !bytes.Equal(crypto.Keccak256(phs.ID), id[:]) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue