diff --git a/x/farming/keeper/staking.go b/x/farming/keeper/staking.go index 0f7c55c2..a20a0c6c 100644 --- a/x/farming/keeper/staking.go +++ b/x/farming/keeper/staking.go @@ -275,8 +275,6 @@ func (k Keeper) Stake(ctx sdk.Context, farmerAcc sdk.AccAddress, amount sdk.Coin // Unstake unstakes an amount of staking coins from the staking reserve account. // It causes accumulated rewards to be withdrawn to the farmer. func (k Keeper) Unstake(ctx sdk.Context, farmerAcc sdk.AccAddress, amount sdk.Coins) error { - // TODO: send coins at once, not in every WithdrawRewards - for _, coin := range amount { staking, found := k.GetStaking(ctx, coin.Denom, farmerAcc) if !found {