mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 19:02:42 +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:
@@ -26,7 +26,6 @@ use asynchronous_codec::Framed;
|
||||
use futures::future::Either;
|
||||
use futures::prelude::*;
|
||||
use futures::StreamExt;
|
||||
use instant::Instant;
|
||||
use libp2p::core::upgrade::DeniedUpgrade;
|
||||
use libp2p::swarm::handler::{
|
||||
ConnectionEvent, ConnectionHandler, ConnectionHandlerEvent, DialUpgradeError,
|
||||
@@ -37,6 +36,7 @@ use std::{
|
||||
pin::Pin,
|
||||
task::{Context, Poll},
|
||||
};
|
||||
use web_time::Instant;
|
||||
|
||||
/// The event emitted by the Handler. This informs the behaviour of various events created
|
||||
/// by the handler.
|
||||
|
||||
Reference in New Issue
Block a user