aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorWuxiang <wuxiangzhou2010@gmail.com>2018-08-20 20:07:21 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-20 20:07:21 +0800
commitd3488c1affee6843d75db77b36f504c73e5e02e7 (patch)
tree58d0cf4a03f145630cb359a79008c9525b9f8e92 /p2p
parent99e1a5e0fb6f238319042dd2c4c8468dc786a4b7 (diff)
downloaddexon-d3488c1affee6843d75db77b36f504c73e5e02e7.tar
dexon-d3488c1affee6843d75db77b36f504c73e5e02e7.tar.gz
dexon-d3488c1affee6843d75db77b36f504c73e5e02e7.tar.bz2
dexon-d3488c1affee6843d75db77b36f504c73e5e02e7.tar.lz
dexon-d3488c1affee6843d75db77b36f504c73e5e02e7.tar.xz
dexon-d3488c1affee6843d75db77b36f504c73e5e02e7.tar.zst
dexon-d3488c1affee6843d75db77b36f504c73e5e02e7.zip
p2p: fix typo (#17446)
Diffstat (limited to 'p2p')
-rw-r--r--p2p/protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/protocol.go b/p2p/protocol.go
index ee747ba23..948aeb494 100644
--- a/p2p/protocol.go
+++ b/p2p/protocol.go
@@ -35,7 +35,7 @@ type Protocol struct {
// by the protocol.
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
// rw. The Payload for each message must be fully consumed.
//