diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-02-20 05:46:07 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-02-20 05:46:07 +0800 |
commit | 639ac5c3daa253f36d41672165a5727d8eba207e (patch) | |
tree | 996c510244cbde21b21a9c05ebc4f696963b5c1f /p2p/message.go | |
parent | 765740b829072f9a1bbeff356377a91defd9fdd8 (diff) | |
parent | 3719db352a3de1c7daece71895abdd871616a2aa (diff) | |
download | go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.gz go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.bz2 go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.lz go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.xz go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.zst go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.zip |
Merge pull request #352 from fjl/no-enc-handshake
p2p: disable encryption handshake, enable log events
Diffstat (limited to 'p2p/message.go')
-rw-r--r-- | p2p/message.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/message.go b/p2p/message.go index 07916f7b3..7adad4b09 100644 --- a/p2p/message.go +++ b/p2p/message.go @@ -197,7 +197,7 @@ func (rw *frameRW) ReadMsg() (msg Msg, err error) { return msg, err } if !bytes.HasPrefix(start, magicToken) { - return msg, fmt.Errorf("bad magic token %x", start[:4], magicToken) + return msg, fmt.Errorf("bad magic token %x", start[:4]) } size := binary.BigEndian.Uint32(start[4:]) |