good morning!!!!

Skip to content
Snippets Groups Projects
Commit 4eb3ad19 authored by Maran Hidskes's avatar Maran Hidskes
Browse files

Made the debug line for invalid peer versions dynamic

parent 36572f03
Branches
Tags
No related merge requests found
...@@ -549,7 +549,7 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) { ...@@ -549,7 +549,7 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) {
c := msg.Data c := msg.Data
if c.Get(0).Uint() != ProtocolVersion { 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() p.Stop()
return return
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment