瀏覽代碼

p2p: fix comment typo (#17491)

Mymskmkt 7 年之前
父節點
當前提交
1df1187d83
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      p2p/dial.go

+ 1 - 1
p2p/dial.go

@@ -146,7 +146,7 @@ func newDialState(static []*discover.Node, bootnodes []*discover.Node, ntab disc
 }
 
 func (s *dialstate) addStatic(n *discover.Node) {
-	// This overwites the task instead of updating an existing
+	// This overwrites the task instead of updating an existing
 	// entry, giving users the opportunity to force a resolve operation.
 	s.static[n.ID] = &dialTask{flags: staticDialedConn, dest: n}
 }