From ed879d4d91e6dcd5740792595fa44be29bb13f71 Mon Sep 17 00:00:00 2001 From: Daniel Gushchyan <39884512+dangush@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:35:58 -0700 Subject: [PATCH] fix: hardcoded default values for node_url and rpc (#189) --- cli/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/config.rs b/cli/src/config.rs index 3286912..dce74fb 100644 --- a/cli/src/config.rs +++ b/cli/src/config.rs @@ -49,11 +49,11 @@ pub struct Config { } fn default_rpc_addr() -> String { - env::var("RPC_URL").unwrap_or_else(|_| "http://127.0.0.1".to_string()) + "http://127.0.0.1".to_string() } fn default_node_url() -> String { - env::var("NODE_URL").unwrap_or_else(|_| "http://127.0.0.1:26657".to_string()) + "127.0.0.1:26657".to_string() } fn default_tx_sender() -> String {