Skip to content

Commit

Permalink
fix(simapp): typo in GetStoreKeys (#19544)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang authored Feb 24, 2024
1 parent aba4e2d commit def228d
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 @@ -691,7 +691,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 def228d

Please sign in to comment.