diff options
| author | alpaylan | 2021-04-12 22:15:17 +0300 |
|---|---|---|
| committer | alpaylan | 2021-04-12 22:15:17 +0300 |
| commit | 65bcc5ce455bdc298af3b9c4a30039afed047a4f (patch) | |
| tree | 63fb58ba3762501ae872d518266cf9f7cc834976 /examples | |
| parent | df484d87424674b88ccfa9392cfa9a75cc4abe48 (diff) | |
| download | gradecoin-65bcc5ce455bdc298af3b9c4a30039afed047a4f.tar.gz gradecoin-65bcc5ce455bdc298af3b9c4a30039afed047a4f.tar.bz2 gradecoin-65bcc5ce455bdc298af3b9c4a30039afed047a4f.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 | }; |
