diff --git a/src/bin/drk.rs b/src/bin/drk.rs index 76f587f73..a0a3ce93e 100644 --- a/src/bin/drk.rs +++ b/src/bin/drk.rs @@ -80,7 +80,6 @@ impl Drk { async fn start(config: Arc<&DrkConfig>, options: Arc) -> Result<()> { let url = config.rpc_url.clone(); - let mut client = Drk::new(url); if options.cashier { @@ -112,7 +111,7 @@ async fn start(config: Arc<&DrkConfig>, options: Arc) -> Result<()> { fn set_default() -> Result { let config_file = DrkConfig { - rpc_url: String::from("127.0.0.1:8000"), + rpc_url: String::from("http://127.0.0.1:8000"), log_path: String::from("/tmp/drk_cli.log"), }; Ok(config_file)