From 0c036924ab0719bb8d6cc1f4d8aec01befed6130 Mon Sep 17 00:00:00 2001 From: Slavik Date: Sat, 11 Nov 2023 20:06:28 +0100 Subject: [PATCH] fix: update timestamp --- README.md | 8 ++++---- src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7943bb5..c58d49f 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ If you encounter any issues or have questions that are not addressed in the docu ## Usage -Run the following Cargo command in your project directory:: +Run the following Cargo command in your project directory: ```bash cargo add blockchain-cli @@ -97,19 +97,19 @@ fn main() { ## Contributing -Build an application: +Build the application: ```bash cargo build ``` -Test an application: +Test the application: ```bash cargo test ``` -Run an application: +Run the application: ```bash cargo run diff --git a/src/lib.rs b/src/lib.rs index c025d49..f39dc7c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -148,8 +148,8 @@ impl Chain { to, from, hash, + timestamp, amount: total_amount, - timestamp: Utc::now().timestamp(), }); true