summaryrefslogtreecommitdiffstats
path: root/examples/mining.rs
diff options
context:
space:
mode:
authoralpaylan2021-04-12 22:15:17 +0300
committeralpaylan2021-04-12 22:15:17 +0300
commitaa169ad1b3c277859f01413a945ea2d6f1375615 (patch)
tree402042bce17641759fa28e5c9a7219025caefcbb /examples/mining.rs
parent87e690420cb61efc172e82a29c38b479fc734247 (diff)
downloadgradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.tar.gz
gradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.tar.bz2
gradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.zip
implement user authentication using jwt
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 };