|
|
@ -127,7 +127,7 @@ struct BalanceCommand {} |
|
|
|
impl Command for BalanceCommand { |
|
|
|
fn help(&self) -> String { |
|
|
|
let mut h = vec![]; |
|
|
|
h.push("Show the current TAZ balance in the wallet"); |
|
|
|
h.push("Show the current ZEC balance in the wallet"); |
|
|
|
h.push("Usage:"); |
|
|
|
h.push("balance"); |
|
|
|
h.push(""); |
|
|
@ -137,7 +137,7 @@ impl Command for BalanceCommand { |
|
|
|
} |
|
|
|
|
|
|
|
fn short_help(&self) -> String { |
|
|
|
"Show the current TAZ balance in the wallet".to_string() |
|
|
|
"Show the current ZEC balance in the wallet".to_string() |
|
|
|
} |
|
|
|
|
|
|
|
fn exec(&self, _args: &[&str], lightclient: &LightClient) -> String { |
|
|
@ -206,9 +206,9 @@ struct SendCommand {} |
|
|
|
impl Command for SendCommand { |
|
|
|
fn help(&self) -> String { |
|
|
|
let mut h = vec![]; |
|
|
|
h.push("Send TAZ to a given address"); |
|
|
|
h.push("Send ZEC to a given address"); |
|
|
|
h.push("Usage:"); |
|
|
|
h.push("send <address> <amount in tazoshis> \"optional_memo\""); |
|
|
|
h.push("send <address> <amount in zatoshis> \"optional_memo\""); |
|
|
|
h.push(""); |
|
|
|
h.push("Example:"); |
|
|
|
h.push("send ztestsapling1x65nq4dgp0qfywgxcwk9n0fvm4fysmapgr2q00p85ju252h6l7mmxu2jg9cqqhtvzd69jwhgv8d 200000 \"Hello from the command line\""); |
|
|
@ -218,7 +218,7 @@ impl Command for SendCommand { |
|
|
|
} |
|
|
|
|
|
|
|
fn short_help(&self) -> String { |
|
|
|
"Send TAZ to the given address".to_string() |
|
|
|
"Send ZEC to the given address".to_string() |
|
|
|
} |
|
|
|
|
|
|
|
fn exec(&self, args: &[&str], lightclient: &LightClient) -> String { |
|
|
|