Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed May 28, 2024
1 parent 3899c50 commit 38af161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/peerprotocol/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 38af161

Please sign in to comment.