Updated invalid peer version comment

This commit is contained in:
StephenButtolph 2020-04-24 15:03:29 -04:00
parent 4b077209d5
commit 6f6919cf1b
1 changed files with 1 additions and 1 deletions

View File

@ -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