Skip to content

Commit

Permalink
chore: bump version 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Feb 10, 2025
1 parent ba3cc46 commit 5b80a9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace.package]
version = "0.1.5"
version = "0.1.6"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand Down
4 changes: 3 additions & 1 deletion crates/core/src/simnet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ pub async fn start(
if enabled {
let _ = clock_event_tx.send(ClockEvent::Tick);
// Todo: the block expiration is not completely accurate.
if block_hash_timeout.elapsed() > Duration::from_millis(BLOCKHASH_SLOT_TTL * slot_time) {
if block_hash_timeout.elapsed()
> Duration::from_millis(BLOCKHASH_SLOT_TTL * slot_time)
{
let _ = clock_event_tx.send(ClockEvent::ExpireBlockHash);
block_hash_timeout = Instant::now();
}
Expand Down

0 comments on commit 5b80a9a

Please sign in to comment.