mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
Update server.go
This commit is contained in:
parent
f2020470f2
commit
6635c0f840
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ var (
|
||||||
|
|
||||||
type protoHandshakeError struct{ err error }
|
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 }
|
func (e *protoHandshakeError) Unwrap() error { return e.err }
|
||||||
|
|
||||||
// Server manages all peer connections.
|
// Server manages all peer connections.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue