diff --git a/cmd/state/commands/state_growth.go b/cmd/state/commands/state_growth.go index b1e03eb0a..5b776084c 100644 --- a/cmd/state/commands/state_growth.go +++ b/cmd/state/commands/state_growth.go @@ -15,7 +15,7 @@ func init() { return err } - //reporter.StateGrowth1(chaindata) + reporter.StateGrowth1(chaindata) reporter.StateGrowth2(chaindata) return nil }, diff --git a/cmd/state/stateless/state.go b/cmd/state/stateless/state.go index 0c0632869..56529c358 100644 --- a/cmd/state/stateless/state.go +++ b/cmd/state/stateless/state.go @@ -242,7 +242,7 @@ func (r *Reporter) StateGrowth2(chaindata string) { var hash common.Hash // Go through the history of account first if err = r.db.View(func(tx *remote.Tx) error { - b := tx.Bucket(dbutils.AccountsHistoryBucket) + b := tx.Bucket(dbutils.StorageHistoryBucket) if b == nil { return nil }