aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/message.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-21 21:52:42 +0800
committerobscuren <geffobscura@gmail.com>2015-03-21 21:52:42 +0800
commita7ad9c309bf72a9f2b4f12001034e1842ca55319 (patch)
treefa573f69742e3e7cf9b2a8d124a27c9d4c8d3c2b /p2p/message.go
parentce862ee7589a0780cebc8a7bb1cf6a75193d55a0 (diff)
parent38c7c589e4a1b08baaab5b81de6aca7fa853d284 (diff)
downloadgo-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.gz
go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.zst
go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.zip
Merge branch 'develop' into conversion
Diffstat (limited to 'p2p/message.go')
-rw-r--r--p2p/message.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/message.go b/p2p/message.go
index ef3630a90..b42acbe3c 100644
--- a/p2p/message.go
+++ b/p2p/message.go
@@ -33,7 +33,7 @@ type Msg struct {
// For the decoding rules, please see package rlp.
func (msg Msg) Decode(val interface{}) error {
if err := rlp.Decode(msg.Payload, val); err != nil {
- return newPeerError(errInvalidMsg, "(code %#x) (size %d) %v", msg.Code, msg.Size, err)
+ return newPeerError(errInvalidMsg, "(code %x) (size %d) %v", msg.Code, msg.Size, err)
}
return nil
}