revert changed bucket name

This commit is contained in:
alex.sharov 2019-12-03 17:40:47 +07:00
parent 1ffbb97752
commit 75e0b1bc85
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ func init() {
return err return err
} }
//reporter.StateGrowth1(chaindata) reporter.StateGrowth1(chaindata)
reporter.StateGrowth2(chaindata) reporter.StateGrowth2(chaindata)
return nil return nil
}, },

View File

@ -242,7 +242,7 @@ func (r *Reporter) StateGrowth2(chaindata string) {
var hash common.Hash var hash common.Hash
// Go through the history of account first // Go through the history of account first
if err = r.db.View(func(tx *remote.Tx) error { if err = r.db.View(func(tx *remote.Tx) error {
b := tx.Bucket(dbutils.AccountsHistoryBucket) b := tx.Bucket(dbutils.StorageHistoryBucket)
if b == nil { if b == nil {
return nil return nil
} }