diff --git a/tm2/pkg/amino/cmd/aminoscan/colors.go b/tm2/pkg/amino/cmd/aminoscan/colors.go index 8dee9aed1f2..89f05a6a0cb 100644 --- a/tm2/pkg/amino/cmd/aminoscan/colors.go +++ b/tm2/pkg/amino/cmd/aminoscan/colors.go @@ -28,7 +28,7 @@ func treat(s string, color string) string { } func treatAll(color string, args ...interface{}) string { - parts := make([]string, len(args)) + parts := make([]string, 0, len(args)) for _, arg := range args { parts = append(parts, treat(fmt.Sprintf("%v", arg), color)) }