From d140745fc3915b22b048e9089b3efeb0f7b7b885 Mon Sep 17 00:00:00 2001 From: Hanjun Kim Date: Wed, 3 Nov 2021 22:40:37 +0900 Subject: [PATCH] chore: remove TODO comment this task now has a separate issue: #208 --- x/farming/keeper/staking.go | 2 -- 1 file changed, 2 deletions(-) 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 {