Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anil K authored and Anil K committed Oct 13, 2023
1 parent 935c0f7 commit 1b40e18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/upgrades/v2.2.0/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ func ExecuteProposal(ctx sdk.Context, ak auth.AccountKeeper, bk bank.Keeper, ck
if err != nil {
return err
}
amount = amount.Add([]sdk.Coin{effectiveAmount}...)

if !effectiveAmount.IsZero() {
amount = amount.Add([]sdk.Coin{effectiveAmount}...)
}
}
ctx.Logger().Info(fmt.Sprintf("added new claim records: %d", len(NewClaimRecords)))

Expand Down

0 comments on commit 1b40e18

Please sign in to comment.