浏览代码

eth, p2p: fix comment typos (#18014)

Corey Lin 7 年之前
父节点
当前提交
212bf266c5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      eth/config.go
  2. 1 1
      p2p/server.go

+ 1 - 1
eth/config.go

@@ -122,7 +122,7 @@ type Config struct {
 	// Miscellaneous options
 	DocRoot string `toml:"-"`
 
-	// Type of the EWASM interpreter ("" for detault)
+	// Type of the EWASM interpreter ("" for default)
 	EWASMInterpreter string
 	// Type of the EVM interpreter ("" for default)
 	EVMInterpreter string

+ 1 - 1
p2p/server.go

@@ -228,7 +228,7 @@ type transport interface {
 	MsgReadWriter
 	// transports must provide Close because we use MsgPipe in some of
 	// the tests. Closing the actual network connection doesn't do
-	// anything in those tests because NsgPipe doesn't use it.
+	// anything in those tests because MsgPipe doesn't use it.
 	close(err error)
 }