This commit is contained in:
Aditya Kulkarni
2019-09-20 20:36:06 -07:00
parent 12c712278e
commit 51be684cc0

View File

@@ -48,10 +48,10 @@ pub fn main() {
// Do a getinfo first, before opening the wallet // Do a getinfo first, before opening the wallet
let info = LightClient::get_info(server.parse().unwrap()); let info = LightClient::get_info(server.parse().unwrap());
// Create a Light Client Config // Create a Light Client Config
let config = lightclient::LightClientConfig { let config = lightclient::LightClientConfig {
server : server, server,
chain_name : info.chain_name, chain_name : info.chain_name,
sapling_activation_height : info.sapling_activation_height, sapling_activation_height : info.sapling_activation_height,
}; };
@@ -138,7 +138,7 @@ pub fn main() {
// Wait for the response // Wait for the response
match resp_rx.recv() { match resp_rx.recv() {
Ok(response) => println!("{}", response), Ok(response) => println!("{}", response),
_ => { eprintln!("Error receiveing response");} _ => { eprintln!("Error receiving response");}
} }
// Special check for Quit command. // Special check for Quit command.