summaryrefslogtreecommitdiffstats
path: root/examples/mining.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mining.rs')
-rw-r--r--examples/mining.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/mining.rs b/examples/mining.rs
index c95c214..21fdc58 100644
--- a/examples/mining.rs
+++ b/examples/mining.rs
@@ -7,9 +7,7 @@ use blake2::{Blake2s, Digest};
7 7
8pub fn main() { 8pub fn main() {
9 let mut b = NakedBlock { 9 let mut b = NakedBlock {
10 transaction_list: vec![ 10 transaction_list: vec!["hash_value".to_owned()],
11 "hash_value".to_owned(),
12 ],
13 nonce: 0, 11 nonce: 0,
14 timestamp: NaiveDate::from_ymd(2021, 04, 08).and_hms(12, 30, 30), 12 timestamp: NaiveDate::from_ymd(2021, 04, 08).and_hms(12, 30, 30),
15 }; 13 };