Skip to content

Commit

Permalink
fix a few trivial diff
Browse files Browse the repository at this point in the history
  • Loading branch information
torao committed Jul 19, 2022
1 parent 197b178 commit 09474e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ func commitStores(version int64, storeMap map[types.StoreKey]types.CommitKVStore
if store.GetStoreType() == types.StoreTypeTransient {
continue
}

si := types.StoreInfo{}
si.Name = key.Name()
si.CommitId = commitID
Expand Down
2 changes: 1 addition & 1 deletion x/capability/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (k Keeper) InitializeIndex(ctx sdk.Context, index uint64) error {
}
latest := k.GetLatestIndex(ctx)
if latest > 0 {
panic(fmt.Sprintf("SetIndex requires index to not be set: %d", latest))
panic("SetIndex requires index to not be set")
}

// set the global index to the passed index
Expand Down

0 comments on commit 09474e0

Please sign in to comment.