mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-07-30 03:41:28 +00:00
spelling
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user