Skip to content

Commit

Permalink
fix: total fund of reward message
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Nov 13, 2023
1 parent 886a1fd commit 8772808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/reward/types/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (payload *CreateCampaignPayload) Validate(blockTime uint64) error {
}

if payload.TotalFunds.LT(totalRewardAmount) {
return sdkerrors.Wrapf(sdkerrtypes.ErrInvalidRequest, "defined reward amount is more than total funds %s", totalRewardAmount)
return sdkerrors.Wrapf(sdkerrtypes.ErrInvalidRequest, "defined reward amount %s is more than total funds %s", totalRewardAmount, payload.TotalFunds)
}

if payload.ClaimsPerCategory == 0 {
Expand Down

0 comments on commit 8772808

Please sign in to comment.