diff options
author | Yigit Sever | 2021-04-20 12:21:50 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-20 12:21:50 +0300 |
commit | 1ad980a3bf37d56105839f13227c569ad82156c7 (patch) | |
tree | 6d6be8b6d73f2ac228c4eb54e2340c025c1bab22 /examples/mining.rs | |
parent | 4275cafb93552563be2e87531fe9ab88c76906db (diff) | |
download | gradecoin-1ad980a3bf37d56105839f13227c569ad82156c7.tar.gz gradecoin-1ad980a3bf37d56105839f13227c569ad82156c7.tar.bz2 gradecoin-1ad980a3bf37d56105839f13227c569ad82156c7.zip |
Change block proposal, fix tests
Diffstat (limited to 'examples/mining.rs')
-rw-r--r-- | examples/mining.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mining.rs b/examples/mining.rs index 1d86a20..e3d1487 100644 --- a/examples/mining.rs +++ b/examples/mining.rs | |||
@@ -20,7 +20,7 @@ pub fn main() { | |||
20 | let counter = Arc::clone(&counter); | 20 | let counter = Arc::clone(&counter); |
21 | threads.push(thread::spawn(move || { | 21 | threads.push(thread::spawn(move || { |
22 | let mut b = NakedBlock { | 22 | let mut b = NakedBlock { |
23 | transaction_list: vec!["e254275".to_owned()], | 23 | transaction_list: vec!["fingerprint_of_some_guy".to_owned()], |
24 | nonce: 0, | 24 | nonce: 0, |
25 | timestamp: NaiveDate::from_ymd(2021, 04, 13).and_hms(23, 38, 00), | 25 | timestamp: NaiveDate::from_ymd(2021, 04, 13).and_hms(23, 38, 00), |
26 | }; | 26 | }; |