p2p: fix typo (#17446)

This commit is contained in:
Wuxiang 2018-08-20 20:07:21 +08:00 committed by Péter Szilágyi
parent 99e1a5e0fb
commit d3488c1aff

View File

@ -35,7 +35,7 @@ type Protocol struct {
// by the protocol. // by the protocol.
Length uint64 Length uint64
// Run is called in a new groutine when the protocol has been // Run is called in a new goroutine when the protocol has been
// negotiated with a peer. It should read and write messages from // negotiated with a peer. It should read and write messages from
// rw. The Payload for each message must be fully consumed. // rw. The Payload for each message must be fully consumed.
// //