aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorLiang Ma <liangma.ul@gmail.com>2018-11-08 19:22:28 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-11-08 19:22:28 +0800
commitc71e4fc4d5e5f97f57f1c52dced187da41b59aaf (patch)
treee59295517f5ac9f557901645d15b5b3c7ee663bf /p2p
parent968f6019d00e349e988f720cdaa065def85ea72f (diff)
downloadgo-tangerine-c71e4fc4d5e5f97f57f1c52dced187da41b59aaf.tar
go-tangerine-c71e4fc4d5e5f97f57f1c52dced187da41b59aaf.tar.gz
go-tangerine-c71e4fc4d5e5f97f57f1c52dced187da41b59aaf.tar.bz2
go-tangerine-c71e4fc4d5e5f97f57f1c52dced187da41b59aaf.tar.lz
go-tangerine-c71e4fc4d5e5f97f57f1c52dced187da41b59aaf.tar.xz
go-tangerine-c71e4fc4d5e5f97f57f1c52dced187da41b59aaf.tar.zst
go-tangerine-c71e4fc4d5e5f97f57f1c52dced187da41b59aaf.zip
p2p: fix comment typo (#18027)
Diffstat (limited to 'p2p')
-rw-r--r--p2p/rlpx.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/rlpx.go b/p2p/rlpx.go
index a105720a4..22a27dd96 100644
--- a/p2p/rlpx.go
+++ b/p2p/rlpx.go
@@ -151,7 +151,7 @@ func readProtocolHandshake(rw MsgReader, our *protoHandshake) (*protoHandshake,
}
if msg.Code == discMsg {
// Disconnect before protocol handshake is valid according to the
- // spec and we send it ourself if the posthanshake checks fail.
+ // spec and we send it ourself if the post-handshake checks fail.
// We can't return the reason directly, though, because it is echoed
// back otherwise. Wrap it in a string instead.
var reason [1]DiscReason