Skip to content

Commit

Permalink
chore: remove TODO comment
Browse files Browse the repository at this point in the history
this task now has a separate issue: tendermint#208
  • Loading branch information
hallazzang committed Nov 3, 2021
1 parent 2f3200a commit d140745
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/farming/keeper/staking.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d140745

Please sign in to comment.