Skip to content

Commit

Permalink
fix: update timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
slavik-pastushenko committed Nov 11, 2023
1 parent a59e581 commit 0c03692
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ impl Chain {
to,
from,
hash,
timestamp,
amount: total_amount,
timestamp: Utc::now().timestamp(),
});

true
Expand Down

0 comments on commit 0c03692

Please sign in to comment.