aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/module_ethstats.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-07-30 20:39:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-30 20:39:35 +0800
commitf00d0daf33e764d3c344c2f06281b5d50d0d1590 (patch)
tree7330a1fa0e739df39a71557acd7202e136193f04 /cmd/puppeth/module_ethstats.go
parent2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b (diff)
downloadgo-tangerine-f00d0daf33e764d3c344c2f06281b5d50d0d1590.tar
go-tangerine-f00d0daf33e764d3c344c2f06281b5d50d0d1590.tar.gz
go-tangerine-f00d0daf33e764d3c344c2f06281b5d50d0d1590.tar.bz2
go-tangerine-f00d0daf33e764d3c344c2f06281b5d50d0d1590.tar.lz
go-tangerine-f00d0daf33e764d3c344c2f06281b5d50d0d1590.tar.xz
go-tangerine-f00d0daf33e764d3c344c2f06281b5d50d0d1590.tar.zst
go-tangerine-f00d0daf33e764d3c344c2f06281b5d50d0d1590.zip
cmd/puppeth: split banned ethstats addresses over columns
Diffstat (limited to 'cmd/puppeth/module_ethstats.go')
-rw-r--r--cmd/puppeth/module_ethstats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/module_ethstats.go b/cmd/puppeth/module_ethstats.go
index 20b7afe23..1a7b48426 100644
--- a/cmd/puppeth/module_ethstats.go
+++ b/cmd/puppeth/module_ethstats.go
@@ -122,7 +122,7 @@ func (info *ethstatsInfos) Report() map[string]string {
"Website address": info.host,
"Website listener port": strconv.Itoa(info.port),
"Login secret": info.secret,
- "Banned addresses": fmt.Sprintf("%v", info.banned),
+ "Banned addresses": strings.Join(info.banned, "\n"),
}
}