diff --git a/command/helper/helper.go b/command/helper/helper.go index b934dbd2d4..2fe0647421 100644 --- a/command/helper/helper.go +++ b/command/helper/helper.go @@ -209,7 +209,7 @@ func ParseGRPCAddress(grpcAddress string) (*net.TCPAddr, error) { func RegisterJSONRPCFlag(cmd *cobra.Command) { cmd.PersistentFlags().String( command.JSONRPCFlag, - fmt.Sprintf("http://%s:%d", AllInterfacesBinding, server.DefaultJSONRPCPort), + fmt.Sprintf("%s:%d", AllInterfacesBinding, server.DefaultJSONRPCPort), "the JSON-RPC interface", ) }