From a01a86cc6520dadb6ae34bdcfd2fe5d71bec3730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 7 Nov 2018 14:53:12 +0000 Subject: [PATCH] Update p2p/rlpx.go Co-Authored-By: LiangMa --- p2p/rlpx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/rlpx.go b/p2p/rlpx.go index 46aa8e6cd8..22a27dd96a 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 posthandshake 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