Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersuweijie committed Feb 19, 2024
1 parent d3fd489 commit 77fb4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/alliance/keeper/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (k Keeper) createAllianceValidatorInfo(ctx context.Context, valAddr sdk.Val
func (k Keeper) IterateAllianceValidatorInfo(ctx context.Context, cb func(valAddr sdk.ValAddress, info types.AllianceValidatorInfo) (stop bool)) (err error) {
store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx))
iter := storetypes.KVStorePrefixIterator(store, types.ValidatorInfoKey)
iter.Close() //nolint:errcheck,nolintlint
defer iter.Close() //nolint:errcheck,nolintlint
for ; iter.Valid(); iter.Next() {
var info types.AllianceValidatorInfo
b := iter.Value()
Expand Down

0 comments on commit 77fb4f0

Please sign in to comment.