Update server.go

This commit is contained in:
Felix Lange 2025-04-14 21:59:35 +02:00 committed by GitHub
parent f2020470f2
commit 6635c0f840
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,7 +72,7 @@ var (
type protoHandshakeError struct{ err error }
func (e *protoHandshakeError) Error() string { return fmt.Sprintf("rlpx proto error: %s", e.err) }
func (e *protoHandshakeError) Error() string { return fmt.Sprintf("rlpx proto error: %v", e.err) }
func (e *protoHandshakeError) Unwrap() error { return e.err }
// Server manages all peer connections.