diff --git a/cli-config/src/config.rs b/cli-config/src/config.rs index e060fe64fb..6503dc4b5e 100644 --- a/cli-config/src/config.rs +++ b/cli-config/src/config.rs @@ -31,7 +31,10 @@ impl Default for Config { keypair_path.to_str().unwrap().to_string() }; let json_rpc_url = "http://127.0.0.1:8899".to_string(); - let websocket_url = Self::compute_websocket_url(&json_rpc_url); + + // Empty websocket_url string indicates the client should + // `Config::compute_websocket_url(&json_rpc_url)` + let websocket_url = "".to_string(); Self { json_rpc_url, diff --git a/cli/src/main.rs b/cli/src/main.rs index 5100a906f6..345448b9ee 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -55,6 +55,9 @@ fn parse_settings(matches: &ArgMatches<'_>) -> Result