diff --git a/bin/reth/src/node/mod.rs b/bin/reth/src/node/mod.rs index fffd92992..87ecee62c 100644 --- a/bin/reth/src/node/mod.rs +++ b/bin/reth/src/node/mod.rs @@ -49,7 +49,7 @@ use reth_interfaces::{ RethResult, }; use reth_network::{error::NetworkError, NetworkConfig, NetworkHandle, NetworkManager}; -use reth_network_api::NetworkInfo; +use reth_network_api::{NetworkInfo, PeersInfo}; use reth_primitives::{ constants::eip4844::{LoadKzgSettingsError, MAINNET_KZG_TRUSTED_SETUP}, kzg::KzgSettings, @@ -350,7 +350,7 @@ impl NodeCommand { default_peers_path, ) .await?; - info!(target: "reth::cli", peer_id = %network.peer_id(), local_addr = %network.local_addr(), "Connected to P2P network"); + info!(target: "reth::cli", peer_id = %network.peer_id(), local_addr = %network.local_addr(), enode = %network.local_node_record(), "Connected to P2P network"); debug!(target: "reth::cli", peer_id = ?network.peer_id(), "Full peer ID"); let network_client = network.fetch_client().await?;