good morning!!!!

Skip to content
Snippets Groups Projects
Commit c71e4fc4 authored by Liang Ma's avatar Liang Ma Committed by Felix Lange
Browse files

p2p: fix comment typo (#18027)

parent 968f6019
Branches
Tags
No related merge requests found
...@@ -151,7 +151,7 @@ func readProtocolHandshake(rw MsgReader, our *protoHandshake) (*protoHandshake, ...@@ -151,7 +151,7 @@ func readProtocolHandshake(rw MsgReader, our *protoHandshake) (*protoHandshake,
} }
if msg.Code == discMsg { if msg.Code == discMsg {
// Disconnect before protocol handshake is valid according to the // 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 // We can't return the reason directly, though, because it is echoed
// back otherwise. Wrap it in a string instead. // back otherwise. Wrap it in a string instead.
var reason [1]DiscReason var reason [1]DiscReason
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment