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:
João Oliveira
2024-05-30 20:18:35 +01:00
committed by GitHub
parent 17dc978760
commit bbe9242811
10 changed files with 20 additions and 15 deletions

View File

@@ -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)]