Skip to content

Commit

Permalink
refactor: merge peer events streams
Browse files Browse the repository at this point in the history
  • Loading branch information
lean-apple committed Dec 4, 2024
1 parent 1507e68 commit 40695c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions crates/e2e-test-utils/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use reth_network_api::{
use reth_network_peers::{NodeRecord, PeerId};
use reth_tokio_util::EventStream;
use reth_tracing::tracing::info;

/// Helper for network operations
#[derive(Debug)]
pub struct NetworkTestContext<Network> {
Expand Down
1 change: 0 additions & 1 deletion crates/net/network-api/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ pub enum PeerEvent {
}

/// (Non-exhaustive) Network events representing peer lifecycle events and session requests.
/// sessions
#[derive(Debug)]
pub enum NetworkEvent<R = PeerRequest> {
/// Basic peer lifecycle event.
Expand Down

0 comments on commit 40695c1

Please sign in to comment.