From 629cfd1a400d08ead396e4e6dc5050f18ef85665 Mon Sep 17 00:00:00 2001 From: insumity Date: Thu, 21 Mar 2024 13:36:12 +0100 Subject: [PATCH] nit change to remove unecessary else --- x/ccv/provider/keeper/partial_set_security.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x/ccv/provider/keeper/partial_set_security.go b/x/ccv/provider/keeper/partial_set_security.go index 754a782f48..3e8d1c1a8c 100644 --- a/x/ccv/provider/keeper/partial_set_security.go +++ b/x/ccv/provider/keeper/partial_set_security.go @@ -89,9 +89,7 @@ func (k Keeper) OptInTopNValidators(ctx sdk.Context, chainID string, bondedValid // if validator already exists it gets overwritten k.SetOptedIn(ctx, chainID, types.NewProviderConsAddress(consAddr)) - } else { - // validators that do not belong to the top N validators but were opted in, remain opted in - } + } // else validators that do not belong to the top N validators but were opted in, remain opted in } }