From aa49194e754d8f555c9a7625b45710d20e7a587f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 26 Jun 2019 23:11:52 -0400 Subject: [PATCH] add trusted to details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- peers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/peers.go b/peers.go index aec9721..6995dd0 100644 --- a/peers.go +++ b/peers.go @@ -71,11 +71,12 @@ func writePeerDetails(g *gocui.Gui, peer *Peer) { return err } v.Clear() - fmt.Fprintf(v, strings.Repeat("%-8s: %v\n", 7), + fmt.Fprintf(v, strings.Repeat("%-8s: %v\n", 8), "Name", peer.Name, "ID", string(peer.Id), "Enode", peer.Enode, "Static", peer.Network.Static, + "Trusted", peer.Network.Trusted, "Local", peer.Network.LocalAddress, "Remote", peer.Network.RemoteAddress, "Caps", strings.Join(peer.Caps, ", "))