-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
While creating my custom node based on rust-libp2p, I rediscovered some uses of std::time::Instant
in the Gossipsub and Kadmelia modules. As previously done by the PR #1071 (issue #900), the remaining std::time::Instant
should again be replaced with wasm_timer::Instant
to allow Wasm compatibility.
The spotted ones:
-
use std::time::{Duration, Instant}; -
use std::time::{Duration, Instant}; -
time::{Duration, Instant}, -
rust-libp2p/protocols/kad/src/kbucket.rs
Line 80 in ee11922
use std::time::{Duration, Instant};
dzmitry-lahoda
Metadata
Metadata
Assignees
Labels
No labels