From c63a29a9adc7a0c9c32ef619660a22672abbdb0d Mon Sep 17 00:00:00 2001 From: lunar-mining Date: Mon, 12 Jul 2021 16:39:39 +0200 Subject: [PATCH] fixed typo in drk url --- src/bin/drk.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)