eth, p2p: fix comment typos (#18014)

This commit is contained in:
Corey Lin 2018-11-08 19:25:14 +08:00 committed by Felix Lange
parent c71e4fc4d5
commit 212bf266c5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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