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 | go-tangerine-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar go-tangerine-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.gz go-tangerine-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.bz2 go-tangerine-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.lz go-tangerine-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.xz go-tangerine-4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f.tar.zst go-tangerine-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 } |