Skip to content

Commit

Permalink
Merge pull request #2068 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
cmd/devp2p: fix log output
  • Loading branch information
ucwong authored Jun 19, 2024
2 parents f33dc49 + 8d67884 commit 4dd0989
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 @@ -81,7 +81,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 4dd0989

Please sign in to comment.