diff options
| author | alpaylan | 2021-04-12 22:15:17 +0300 | 
|---|---|---|
| committer | alpaylan | 2021-04-12 22:15:17 +0300 | 
| commit | aa169ad1b3c277859f01413a945ea2d6f1375615 (patch) | |
| tree | 402042bce17641759fa28e5c9a7219025caefcbb /examples | |
| parent | 87e690420cb61efc172e82a29c38b479fc734247 (diff) | |
| download | gradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.tar.gz gradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.tar.bz2 gradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.zip  | |
implement user authentication using jwt
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/mining.rs | 4 | 
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 | ||
| 8 | pub fn main() { | 8 | pub 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 | }; | 
