add trusted to details

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-06-26 23:11:52 -04:00 committed by Jakub
parent d8b743f211
commit aa49194e75
1 changed files with 2 additions and 1 deletions

View File

@ -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, ", "))