From 65c91ad5e7f7c8aadbdc114ae443dc4c0e38489d Mon Sep 17 00:00:00 2001 From: jkcomment Date: Wed, 18 Jul 2018 16:41:18 +0900 Subject: [PATCH] p2p: correct comments typo (#17184) --- p2p/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/peer.go b/p2p/peer.go index eb2d34441..e8d1f2540 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -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