Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Oct 23, 2023
1 parent 092f023 commit 90646aa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x/oracle/keeper/param_update_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ func (k Keeper) ClearParamUpdatePlan(ctx sdk.Context, planHeight uint64) error {
func (k Keeper) haveParamUpdatePlan(ctx sdk.Context, planHeight uint64) bool {
store := ctx.KVStore(k.storeKey)
bz := store.Get(types.KeyParamUpdatePlan(planHeight))
if bz == nil {
return false
}

return true
return bz != nil
}

// GetParamUpdatePlans returns all the param update plans in the store.
Expand Down

0 comments on commit 90646aa

Please sign in to comment.