diff --git a/pkg/peerprotocol/connection.go b/pkg/peerprotocol/connection.go index 4f3bc5f..63d4d42 100644 --- a/pkg/peerprotocol/connection.go +++ b/pkg/peerprotocol/connection.go @@ -163,7 +163,7 @@ func (c *Connection) PeerID() ([32]byte, error) { // Access the connection state state := tlsConn.ConnectionState() if len(state.PeerCertificates) == 0 { - return nullBytes, fmt.Errorf("No certificates in chain") + return nullBytes, fmt.Errorf("no certificates in chain") } cert := state.PeerCertificates[0]