p2p: correct comments typo

This commit is contained in:
jkcomment 2018-07-17 15:14:20 +09:00
parent 5d30be412b
commit 1c10e34798

View file

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