From 212bf266c55b3737da37e6588142d0c9f7c6e10f Mon Sep 17 00:00:00 2001 From: Corey Lin <514971757@qq.com> Date: Thu, 8 Nov 2018 19:25:14 +0800 Subject: eth, p2p: fix comment typos (#18014) --- eth/config.go | 2 +- p2p/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/config.go b/eth/config.go index efbaafb6a..e32c01a73 100644 --- a/eth/config.go +++ b/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 diff --git a/p2p/server.go b/p2p/server.go index 38a881f7b..667860863 100644 --- a/p2p/server.go +++ b/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) } -- cgit