From aa169ad1b3c277859f01413a945ea2d6f1375615 Mon Sep 17 00:00:00 2001 From: alpaylan Date: Mon, 12 Apr 2021 22:15:17 +0300 Subject: implement user authentication using jwt --- examples/mining.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/mining.rs') 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}; pub fn main() { let mut b = NakedBlock { - transaction_list: vec![ - "hash_value".to_owned(), - ], + transaction_list: vec!["hash_value".to_owned()], nonce: 0, timestamp: NaiveDate::from_ymd(2021, 04, 08).and_hms(12, 30, 30), }; -- cgit v1.2.3-70-g09d2