浏览代码

p2p: fix typo (#17446)

Wuxiang 7 年之前
父节点
当前提交
d3488c1aff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      p2p/protocol.go

+ 1 - 1
p2p/protocol.go

@@ -35,7 +35,7 @@ type Protocol struct {
 	// by the protocol.
 	// by the protocol.
 	Length uint64
 	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
 	// negotiated with a peer. It should read and write messages from
 	// rw. The Payload for each message must be fully consumed.
 	// rw. The Payload for each message must be fully consumed.
 	//
 	//