aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorCorey Lin <514971757@qq.com>2018-11-08 19:25:14 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-11-08 19:25:14 +0800
commit212bf266c55b3737da37e6588142d0c9f7c6e10f (patch)
tree66b02352bbd665e2f503076ea8048ad59d3f2efe /p2p
parentc71e4fc4d5e5f97f57f1c52dced187da41b59aaf (diff)
downloaddexon-212bf266c55b3737da37e6588142d0c9f7c6e10f.tar
dexon-212bf266c55b3737da37e6588142d0c9f7c6e10f.tar.gz
dexon-212bf266c55b3737da37e6588142d0c9f7c6e10f.tar.bz2
dexon-212bf266c55b3737da37e6588142d0c9f7c6e10f.tar.lz
dexon-212bf266c55b3737da37e6588142d0c9f7c6e10f.tar.xz
dexon-212bf266c55b3737da37e6588142d0c9f7c6e10f.tar.zst
dexon-212bf266c55b3737da37e6588142d0c9f7c6e10f.zip
eth, p2p: fix comment typos (#18014)
Diffstat (limited to 'p2p')
-rw-r--r--p2p/server.go2
1 files changed, 1 insertions, 1 deletions
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)
}