Skip to content

Commit

Permalink
Merge branch 'develop' into feat/multi-bls-keys-per-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
trestinlsd authored Feb 11, 2025
2 parents f67af25 + c871d19 commit ca1f61c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/feedistribution/keeper/allocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ func (k Keeper) AllocateTokensToStakers(ctx sdk.Context, operatorAddress sdk.Acc
remaining = remaining.Sub(rewardToSingleStaker)
}
}
feePool.CommunityPool = feePool.CommunityPool.Add(rewardToAllStakers...)
logger.Info("allocate tokens to stakers successfully", "allocated amount is", rewardToAllStakers.String())
feePool.CommunityPool = feePool.CommunityPool.Add(remaining...)
logger.Info("allocate tokens to stakers successfully", "allocated amount is", rewardToAllStakers.Sub(remaining).String())
}

func (k Keeper) AllocateTokensToSingleStaker(ctx sdk.Context, stakerAddress string, reward sdk.DecCoins) {
Expand Down

0 comments on commit ca1f61c

Please sign in to comment.