aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/message.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-20 19:52:03 +0800
committerobscuren <geffobscura@gmail.com>2015-03-20 19:52:03 +0800
commit4f5b362bda862b0d77583491d5e04193148a9349 (patch)
treefc00b04aaaebb3dae1e87a1870463e2c8016dcdb /p2p/message.go
parent91f9f355b2e334214e38e1827c624cdcc23c5130 (diff)
downloadgo-tangerine-4f5b362bda862b0d77583491d5e04193148a9349.tar.gz
go-tangerine-4f5b362bda862b0d77583491d5e04193148a9349.tar.zst
go-tangerine-4f5b362bda862b0d77583491d5e04193148a9349.zip
%#x => %x
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 14e4404c9..31cf5901f 100644
--- a/p2p/message.go
+++ b/p2p/message.go
@@ -40,7 +40,7 @@ func NewMsg(code uint64, params ...interface{}) Msg {
// 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
}