Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 committed Oct 18, 2024
1 parent 33a6f19 commit 54d2718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightclient/src/platform/wasm_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn now_from_unix_epoch() -> Duration {
pub type Instant = instant::Instant;

pub fn now() -> Instant {
instant::Instant::now()
web_time::Instant::now()
}

pub type Delay = future::BoxFuture<'static, ()>;
Expand Down

0 comments on commit 54d2718

Please sign in to comment.