Browse Source

Rename to ZEC

checkpoints
Aditya Kulkarni 5 years ago
parent
commit
cec21dbbd8
  1. 10
      lib/src/commands.rs
  2. 2
      lib/src/lightwallet.rs

10
lib/src/commands.rs

@ -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 {

2
lib/src/lightwallet.rs

@ -1070,7 +1070,7 @@ impl LightWallet {
let total_value = tos.iter().map(|to| to.1).sum::<u64>();
println!(
"0: Creating transaction sending {} tazoshis to {} addresses",
"0: Creating transaction sending {} ztoshis to {} addresses",
total_value, tos.len()
);

Loading…
Cancel
Save