mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 22:16:45 +01:00
Made the debug line for invalid peer versions dynamic
This commit is contained in:
2
peer.go
2
peer.go
@@ -549,7 +549,7 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) {
|
||||
c := msg.Data
|
||||
|
||||
if c.Get(0).Uint() != ProtocolVersion {
|
||||
ethutil.Config.Log.Debugln("Invalid peer version. Require protocol v5")
|
||||
ethutil.Config.Log.Debugln("Invalid peer version. Require protocol:", ProtocolVersion)
|
||||
p.Stop()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user