diff options
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 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 } |