aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/message.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-11-05 08:28:46 +0800
committerFelix Lange <fjl@twurst.com>2014-11-22 04:52:45 +0800
commit7149191dd999f4d192398e4b0821b656e62f3345 (patch)
tree967ba2f95859e59751d5e2bf403f0ea334ffc99e /p2p/message.go
parentf38052c499c1fee61423efeddb1f52677f1442e9 (diff)
downloaddexon-7149191dd999f4d192398e4b0821b656e62f3345.tar
dexon-7149191dd999f4d192398e4b0821b656e62f3345.tar.gz
dexon-7149191dd999f4d192398e4b0821b656e62f3345.tar.bz2
dexon-7149191dd999f4d192398e4b0821b656e62f3345.tar.lz
dexon-7149191dd999f4d192398e4b0821b656e62f3345.tar.xz
dexon-7149191dd999f4d192398e4b0821b656e62f3345.tar.zst
dexon-7149191dd999f4d192398e4b0821b656e62f3345.zip
p2p: fix issues found during review
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 366cff5d7..97d440a27 100644
--- a/p2p/message.go
+++ b/p2p/message.go
@@ -98,7 +98,7 @@ type byteReader interface {
io.ByteReader
}
-// readMsg reads a message header.
+// readMsg reads a message header from r.
func readMsg(r byteReader) (msg Msg, err error) {
// read magic and payload size
start := make([]byte, 8)