add trusted to details
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d8b743f211
commit
aa49194e75
3
peers.go
3
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, ", "))
|
||||
|
|
Loading…
Reference in New Issue