Skip to content

Commit

Permalink
cmd/devp2p: fix log output (#29972)
Browse files Browse the repository at this point in the history
  • Loading branch information
bugmaker9371 committed Jun 11, 2024
1 parent ffb29be commit caa066d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/devp2p/rlpxcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func rlpxPing(ctx *cli.Context) error {
}
return fmt.Errorf("received disconnect message: %v", msg[0])
default:
return fmt.Errorf("invalid message code %d, expected handshake (code zero)", code)
return fmt.Errorf("invalid message code %d, expected handshake (code zero) or disconnect (code one)", code)
}
return nil
}
Expand Down

0 comments on commit caa066d

Please sign in to comment.