cmd/devp2p: fix log output (#29972)

pull/29977/head
bugmaker9371 3 months ago committed by GitHub
parent ffb29be7d4
commit caa066dcb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cmd/devp2p/rlpxcmd.go

@ -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
}

Loading…
Cancel
Save