p2p: fix typo

This commit is contained in:
Wuxiang 2018-08-20 17:58:31 +08:00 committed by GitHub
parent 99e1a5e0fb
commit c738cfb39c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.
// //