Skip to content
Snippets Groups Projects
Unverified Commit 17a9b670 authored by Andreas Penzkofer's avatar Andreas Penzkofer Committed by GitHub
Browse files

Merge pull request #60 from iotaledger/feat/changeNeighborDisplay

added total number to neighbor display
parents 895dfc09 99da6e0a
Branches
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ func (headerBar *UIHeaderBar) Update() {
fmt.Fprintf(headerBar.InfoContainer, "[::b]Node ID: [::d]%40v ", accountability.OwnId().StringIdentifier)
fmt.Fprintln(headerBar.InfoContainer)
fmt.Fprintf(headerBar.InfoContainer, "[::b]Neighbors: [::d]%40v ", strconv.Itoa(len(chosenneighbors.INSTANCE.Peers))+" chosen / "+strconv.Itoa(len(acceptedneighbors.INSTANCE.Peers))+" accepted")
fmt.Fprintf(headerBar.InfoContainer, "[::b]Neighbors: [::d]%40v ", strconv.Itoa(len(chosenneighbors.INSTANCE.Peers))+" chosen / "+strconv.Itoa(len(acceptedneighbors.INSTANCE.Peers))+" accepted / "+strconv.Itoa(len(chosenneighbors.INSTANCE.Peers)+len(acceptedneighbors.INSTANCE.Peers))+" total")
fmt.Fprintln(headerBar.InfoContainer)
fmt.Fprintf(headerBar.InfoContainer, "[::b]Known Peers: [::d]%40v ", strconv.Itoa(len(knownpeers.INSTANCE.Peers))+" total / "+strconv.Itoa(len(neighborhood.INSTANCE.Peers))+" neighborhood")
fmt.Fprintln(headerBar.InfoContainer)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment