Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 11, 2024
1 parent 4e07bb9 commit 1fa9d14
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/versiondb.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ func (app *App) setupVersionDB(
return nil, err
}

versionDB, err := tsrocksdb.NewStore(dataDir)
if err != nil {
return nil, err
}

// always listen for all keys to simplify configuration
exposedKeys := make([]storetypes.StoreKey, 0, len(keys))
for _, key := range keys {
exposedKeys = append(exposedKeys, key)
}

versionDB, err := tsrocksdb.NewStore(dataDir)
if err != nil {
return nil, err
}

// see: https://github.com/crypto-org-chain/cronos/issues/1683
versionDB.SetSkipVersionZero(true)

Expand Down

0 comments on commit 1fa9d14

Please sign in to comment.