diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-12 18:28:56 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-12 18:28:56 +0800 |
commit | 4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f (patch) | |
tree | b9443cdf45907eb1c94d524912f633b2f1891f08 | |
parent | 36572f03a7acf24d9b0e86479d435d007134c3f1 (diff) | |
download | dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.gz dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.bz2 dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.lz dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.xz dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.zst dexon-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.zip |
Made the debug line for invalid peer versions dynamic
-rw-r--r-- | peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |