summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pkg/state/pretty/pretty.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/state/pretty/pretty.go b/pkg/state/pretty/pretty.go
index cf37aaa49..1375fcc38 100644
--- a/pkg/state/pretty/pretty.go
+++ b/pkg/state/pretty/pretty.go
@@ -148,7 +148,6 @@ func format(graph uint64, depth int, encoded wire.Object, html bool) (string, bo
element, ok := format(graph, depth+1, *x.Field(i), html)
allZero = allZero && !ok
items = append(items, fmt.Sprintf("\t%d: %s,", i, element))
- i++
}
items = append(items, "}")
return strings.Join(items, tabs), !allZero