From 51be684cc0162b91c8eb56e946424aa56a05d1c5 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Fri, 20 Sep 2019 20:36:06 -0700 Subject: [PATCH] spelling --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f9c7a25..417ee28 100644 --- a/src/main.rs +++ b/src/main.rs @@ -48,10 +48,10 @@ pub fn main() { // Do a getinfo first, before opening the wallet let info = LightClient::get_info(server.parse().unwrap()); - + // Create a Light Client Config let config = lightclient::LightClientConfig { - server : server, + server, chain_name : info.chain_name, sapling_activation_height : info.sapling_activation_height, }; @@ -138,7 +138,7 @@ pub fn main() { // Wait for the response match resp_rx.recv() { Ok(response) => println!("{}", response), - _ => { eprintln!("Error receiveing response");} + _ => { eprintln!("Error receiving response");} } // Special check for Quit command.