p2p: correct comments typo (#17184)

This commit is contained in:
jkcomment 2018-07-18 16:41:18 +09:00 committed by Péter Szilágyi
parent 5d30be412b
commit 65c91ad5e7

View File

@ -376,7 +376,7 @@ func (p *Peer) getProto(code uint64) (*protoRW, error) {
type protoRW struct {
Protocol
in chan Msg // receices read messages
in chan Msg // receives read messages
closed <-chan struct{} // receives when peer is shutting down
wstart <-chan struct{} // receives when write may start
werr chan<- error // for write results