aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/message.go
diff options
context:
space:
mode:
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)