From d4e5f9a2df76396b38a3783ca2607cb40eafc0af Mon Sep 17 00:00:00 2001 From: kamuikatsurgi Date: Wed, 15 Jan 2025 11:44:46 +0530 Subject: [PATCH] minor fix --- x/gov/keeper/deposit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gov/keeper/deposit.go b/x/gov/keeper/deposit.go index 4db974baac00..ddc45dc36e5e 100644 --- a/x/gov/keeper/deposit.go +++ b/x/gov/keeper/deposit.go @@ -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,