mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
enhance tx gossip test coverage (#6578)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
This commit is contained in:
@@ -4,6 +4,7 @@ use crate::{
|
||||
builder::ETH_REQUEST_CHANNEL_CAPACITY,
|
||||
error::NetworkError,
|
||||
eth_requests::EthRequestHandler,
|
||||
peers::PeersHandle,
|
||||
protocol::IntoRlpxSubProtocol,
|
||||
transactions::{TransactionsHandle, TransactionsManager},
|
||||
NetworkConfig, NetworkConfigBuilder, NetworkEvent, NetworkEvents, NetworkHandle,
|
||||
@@ -475,6 +476,10 @@ impl<Pool> PeerHandle<Pool> {
|
||||
self.network.peer_id()
|
||||
}
|
||||
|
||||
pub fn peer_handle(&self) -> &PeersHandle {
|
||||
self.network.peers_handle()
|
||||
}
|
||||
|
||||
pub fn local_addr(&self) -> SocketAddr {
|
||||
self.network.local_addr()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user