From c0c5e293a8c53cdadd55a5975f0bc742f75fb9c7 Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Mon, 15 Oct 2018 23:09:56 +0200 Subject: [PATCH] iter.Close() --- x/slashing/signing_info.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/slashing/signing_info.go b/x/slashing/signing_info.go index e8795cd009..8c35693f1c 100644 --- a/x/slashing/signing_info.go +++ b/x/slashing/signing_info.go @@ -54,6 +54,7 @@ func (k Keeper) clearValidatorMissedBlockBitArray(ctx sdk.Context, address sdk.C for ; iter.Valid(); iter.Next() { store.Delete(iter.Key()) } + iter.Close() } // Construct a new `ValidatorSigningInfo` struct