mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-02-01 03:12:15 +00:00
Update version number
This commit is contained in:
parent
be53b8087f
commit
29b5e4459b
@ -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]
|
||||||
|
@ -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);
|
||||||
|
@ -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…
Reference in New Issue
Block a user