diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-12 03:55:45 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-12 03:55:45 +0800 |
commit | 9ee6295c752a518603de01e4feaec787c61a5dcf (patch) | |
tree | e25b46e294bf0cfc556a6a3438977c53f9052d95 /peer.go | |
parent | 1bf6f8b4a6936d8ad14b345b2cfa4dc9d1f8a360 (diff) | |
download | go-tangerine-9ee6295c752a518603de01e4feaec787c61a5dcf.tar go-tangerine-9ee6295c752a518603de01e4feaec787c61a5dcf.tar.gz go-tangerine-9ee6295c752a518603de01e4feaec787c61a5dcf.tar.bz2 go-tangerine-9ee6295c752a518603de01e4feaec787c61a5dcf.tar.lz go-tangerine-9ee6295c752a518603de01e4feaec787c61a5dcf.tar.xz go-tangerine-9ee6295c752a518603de01e4feaec787c61a5dcf.tar.zst go-tangerine-9ee6295c752a518603de01e4feaec787c61a5dcf.zip |
Minor changes
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,7 +17,7 @@ const ( // The size of the output buffer for writing messages outputBufferSize = 50 // Current protocol version - ProtocolVersion = 17 + ProtocolVersion = 20 ) type DiscReason byte @@ -603,7 +603,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:", ProtocolVersion) + ethutil.Config.Log.Debugf("Invalid peer version. Require protocol: %d. Received: %d\n", ProtocolVersion, c.Get(0).Uint()) p.Stop() return } |