Преглед изворни кода

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)
 }