aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkcomment <jkcomment@gmail.com>2018-07-18 15:41:18 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-18 15:41:18 +0800
commit65c91ad5e7f7c8aadbdc114ae443dc4c0e38489d (patch)
treeb6682dd2be72b746511a3ef50ac8e29db5c2224d
parent5d30be412b0f9181cb007c8893ee583ee4319116 (diff)
downloaddexon-65c91ad5e7f7c8aadbdc114ae443dc4c0e38489d.tar.gz
dexon-65c91ad5e7f7c8aadbdc114ae443dc4c0e38489d.tar.zst
dexon-65c91ad5e7f7c8aadbdc114ae443dc4c0e38489d.zip
p2p: correct comments typo (#17184)
-rw-r--r--p2p/peer.go2
1 files changed, 1 insertions, 1 deletions
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