mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-30 19:23:50 +00:00
replace instant with web-time (#5800)
* replace instant with web_time * Merge branch 'unstable' into replace-instant-gossipsub # Conflicts: # Cargo.lock # beacon_node/lighthouse_network/Cargo.toml
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
use super::peer_score::RejectReason;
|
||||
use super::MessageId;
|
||||
use super::ValidationError;
|
||||
use instant::Instant;
|
||||
use libp2p::identity::PeerId;
|
||||
use std::collections::HashMap;
|
||||
use web_time::Instant;
|
||||
|
||||
/// Tracks recently sent `IWANT` messages and checks if peers respond to them.
|
||||
#[derive(Default)]
|
||||
|
||||
Reference in New Issue
Block a user