aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-12 18:28:56 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-12 18:28:56 +0800
commit4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f (patch)
treeb9443cdf45907eb1c94d524912f633b2f1891f08 /peer.go
parent36572f03a7acf24d9b0e86479d435d007134c3f1 (diff)
downloaddexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.gz
dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.zst
dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.zip
Made the debug line for invalid peer versions dynamic
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index 80ddc5142..9b8b3f2ae 100644
--- a/peer.go
+++ b/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
}