Skip to content

Commit

Permalink
chore: apply changes from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
hallazzang committed Oct 14, 2021
1 parent 5ffc807 commit 86d8224
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x/farming/keeper/reward.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@ func (k Keeper) AllocateRewards(ctx sdk.Context) error {
// ValidateRemainingRewardsAmount checks that the balance of the
// rewards reserve pool is greater than the total amount of
// unwithdrawn rewards.
// TODO: correct comment above
func (k Keeper) ValidateRemainingRewardsAmount(ctx sdk.Context) error {
remainingRewards := sdk.NewCoins()
k.IterateStakings(ctx, func(stakingCoinDenom string, farmerAcc sdk.AccAddress, staking types.Staking) (stop bool) {
Expand Down

0 comments on commit 86d8224

Please sign in to comment.