Skip to content

Commit

Permalink
fix: forgotten debug message for UtpPeer
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Carver <[email protected]>
  • Loading branch information
morph-dev and carver authored Feb 5, 2025
1 parent b24266d commit 7ef5ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/portalnet/src/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ impl UtpPeer {
impl std::fmt::Debug for UtpPeer {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let peer_client_type = self.client().unwrap_or_else(|| "Unknown".to_string());
f.debug_struct("EnrPeer")
f.debug_struct("UtpPeer")
.field("enr", &self.0)
.field("Peer Client Type", &peer_client_type)
.finish()
Expand Down

0 comments on commit 7ef5ef6

Please sign in to comment.