iter.Close()

This commit is contained in:
Christopher Goes 2018-10-15 23:09:56 +02:00
parent 7bf8a41463
commit c0c5e293a8
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ func (k Keeper) clearValidatorMissedBlockBitArray(ctx sdk.Context, address sdk.C
for ; iter.Valid(); iter.Next() { for ; iter.Valid(); iter.Next() {
store.Delete(iter.Key()) store.Delete(iter.Key())
} }
iter.Close()
} }
// Construct a new `ValidatorSigningInfo` struct // Construct a new `ValidatorSigningInfo` struct