From 082953e34ccdb4eccfd0f804fa75a12b343814f3 Mon Sep 17 00:00:00 2001 From: folex <0xdxdy@gmail.com> Date: Thu, 30 Apr 2020 16:48:51 +0300 Subject: [PATCH] base58 inline in Debug --- core/src/peer_id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/peer_id.rs b/core/src/peer_id.rs index 7fd6c505..afc0acbb 100644 --- a/core/src/peer_id.rs +++ b/core/src/peer_id.rs @@ -46,7 +46,7 @@ pub struct PeerId { impl fmt::Debug for PeerId { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_tuple("PeerId") - .field(&self.to_base58()) + .field(&self.to_string()) .finish() } }