Skip to content

Commit

Permalink
test: signup campaign and reward validation
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Nov 9, 2023
1 parent fe63161 commit 6d85123
Show file tree
Hide file tree
Showing 7 changed files with 295 additions and 603 deletions.
2 changes: 1 addition & 1 deletion x/reward/keeper/msg_server_campaign.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (k msgServer) CreateCampaign(goCtx context.Context, msg *types.MsgCreateCam
return nil, err
}

err = rewardFactory.VaidateCampaign(campaign)
err = rewardFactory.VaidateCampaign(campaign, uint64(ctx.BlockTime().Unix()))
if err != nil {
return nil, err
}
Expand Down
Loading

0 comments on commit 6d85123

Please sign in to comment.