From 8c9bf1daded942302c1de04289400f17e6974341 Mon Sep 17 00:00:00 2001 From: Zaki Manian Date: Sat, 21 Sep 2019 10:45:30 -0700 Subject: [PATCH] Update p2p/conn/secret_connection.go Co-Authored-By: Anton Kaliaev --- p2p/conn/secret_connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/conn/secret_connection.go b/p2p/conn/secret_connection.go index 84d77b980..f57e589e6 100644 --- a/p2p/conn/secret_connection.go +++ b/p2p/conn/secret_connection.go @@ -135,7 +135,7 @@ func MakeSecretConnection(conn io.ReadWriteCloser, locPrivKey crypto.PrivKey) (* remPubKey, remSignature := authSigMsg.Key, authSigMsg.Sig if remPubKey == nil { - return nil, errors.New("Peer sent a nil public key") + return nil, errors.New("peer sent a nil public key") } if !remPubKey.VerifyBytes(challenge[:], remSignature) {