Skip to content

Commit

Permalink
nit change to remove unecessary else
Browse files Browse the repository at this point in the history
  • Loading branch information
insumity committed Mar 21, 2024
1 parent 330c085 commit 629cfd1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/ccv/provider/keeper/partial_set_security.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 629cfd1

Please sign in to comment.