Browse Source

p2p: fix typo (#17446)

Wuxiang 7 năm trước cách đây
mục cha
commit
d3488c1aff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      p2p/protocol.go

+ 1 - 1
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.
 	//