diff options
author | Yigit Sever | 2021-04-20 12:21:50 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-20 12:21:50 +0300 |
commit | debc755d949616b6e21daf8946f6002fa1be8570 (patch) | |
tree | c4a9f03949267d555c1900015425995f4f299910 /examples/mining.rs | |
parent | a53ccc6f5ca64d46abb94ae743dc5d063a87959e (diff) | |
download | gradecoin-debc755d949616b6e21daf8946f6002fa1be8570.tar.gz gradecoin-debc755d949616b6e21daf8946f6002fa1be8570.tar.bz2 gradecoin-debc755d949616b6e21daf8946f6002fa1be8570.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 | }; |