Skip to content

Commit

Permalink
fix: jsonrpc cmd line parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Oct 10, 2023
1 parent 76382fc commit c294a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
}
Expand Down

0 comments on commit c294a74

Please sign in to comment.