Bläddra i källkod

eth, p2p: fix comment typos (#18014)

Corey Lin 7 år sedan
förälder
incheckning
212bf266c5
2 ändrade filer med 2 tillägg och 2 borttagningar
  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)
 }