Browse Source

Update version number

checkpoints
Aditya Kulkarni 5 years ago
parent
commit
29b5e4459b
  1. 2
      Cargo.toml
  2. 2
      lib/src/lightwallet.rs
  3. 2
      src/main.rs

2
Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "zecwallet-cli" name = "zecwallet-cli"
version = "1.0.0" version = "1.1.0"
edition = "2018" edition = "2018"
[dependencies] [dependencies]

2
lib/src/lightwallet.rs

@ -39,7 +39,6 @@ use zcash_primitives::{
primitives::{PaymentAddress}, primitives::{PaymentAddress},
}; };
use crate::lightclient::{LightClientConfig}; use crate::lightclient::{LightClientConfig};
mod data; mod data;
@ -58,7 +57,6 @@ fn now() -> f64 {
SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs() as f64 SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs() as f64
} }
/// Sha256(Sha256(value)) /// Sha256(Sha256(value))
pub fn double_sha256(payload: &[u8]) -> Vec<u8> { pub fn double_sha256(payload: &[u8]) -> Vec<u8> {
let h1 = Sha256::digest(&payload); let h1 = Sha256::digest(&payload);

2
src/main.rs

@ -54,7 +54,7 @@ pub fn main() {
// Get command line arguments // Get command line arguments
use clap::{Arg, App}; use clap::{Arg, App};
let matches = App::new("Zecwallet CLI") let matches = App::new("Zecwallet CLI")
.version("1.0.0") .version("1.1.0")
.arg(Arg::with_name("seed") .arg(Arg::with_name("seed")
.short("s") .short("s")
.long("seed") .long("seed")

Loading…
Cancel
Save