Co-authored-by: yihuang <huang@crypto.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user