Skip to content

Commit

Permalink
fix(simapp): typo in GetStoreKeys (backport #19544) (#19547)
Browse files Browse the repository at this point in the history
Co-authored-by: yihuang <[email protected]>
  • Loading branch information
mergify[bot] and yihuang authored Feb 24, 2024
1 parent ccd8d5e commit 95cc64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ func (app *SimApp) GetKey(storeKey string) *storetypes.KVStoreKey {

// GetStoreKeys returns all the stored store keys.
func (app *SimApp) GetStoreKeys() []storetypes.StoreKey {
keys := make([]storetypes.StoreKey, len(app.keys))
keys := make([]storetypes.StoreKey, 0, len(app.keys))
for _, key := range app.keys {
keys = append(keys, key)
}
Expand Down

0 comments on commit 95cc64b

Please sign in to comment.