From 75e0b1bc856a206efb98d8362b86129a4ff86b52 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Tue, 3 Dec 2019 17:40:47 +0700 Subject: [PATCH] revert changed bucket name --- cmd/state/commands/state_growth.go | 2 +- cmd/state/stateless/state.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }