mirror of https://github.com/poanetwork/gecko.git
Updated invalid peer version comment
This commit is contained in:
parent
4b077209d5
commit
6f6919cf1b
|
@ -715,7 +715,7 @@ func version(_msg *C.struct_msg_t, _conn *C.struct_msgnetwork_conn_t, _ unsafe.P
|
|||
}
|
||||
|
||||
if peerVersion := pMsg.Get(VersionStr).(string); !HandshakeNet.checkCompatibility(peerVersion) {
|
||||
HandshakeNet.log.Warn("Bad version")
|
||||
HandshakeNet.log.Debug("Dropping connection due to an incompatible version from peer")
|
||||
|
||||
HandshakeNet.net.DelPeer(peer)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue