From cec21dbbd847bcdfc8886437a84d1bb95e450608 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Mon, 14 Oct 2019 10:25:41 -0700 Subject: [PATCH] Rename to ZEC --- lib/src/commands.rs | 10 +++++----- lib/src/lightwallet.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/src/commands.rs b/lib/src/commands.rs index c9c3e8d..fbb0d8f 100644 --- a/lib/src/commands.rs +++ b/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
\"optional_memo\""); + h.push("send
\"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 { diff --git a/lib/src/lightwallet.rs b/lib/src/lightwallet.rs index 2d8c79c..80b0d86 100644 --- a/lib/src/lightwallet.rs +++ b/lib/src/lightwallet.rs @@ -1070,7 +1070,7 @@ impl LightWallet { let total_value = tos.iter().map(|to| to.1).sum::(); println!( - "0: Creating transaction sending {} tazoshis to {} addresses", + "0: Creating transaction sending {} ztoshis to {} addresses", total_value, tos.len() );