Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamuikatsurgi committed Jan 15, 2025
1 parent 648127a commit d4e5f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/keeper/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func (keeper Keeper) DistributeAndDeleteDeposits(ctx context.Context, proposalID

for _, coin := range deposit.Amount {
amountPerValidatorPerCoin := sdkmath.LegacyNewDecFromInt(coin.Amount).QuoInt64(int64(len(validatorAddresses))).TruncateInt()
amountPerValidator.Add(
amountPerValidator = amountPerValidator.Add(
sdk.NewCoin(
coin.Denom,
amountPerValidatorPerCoin,
Expand Down

0 comments on commit d4e5f9a

Please sign in to comment.