Skip to content

Commit

Permalink
test: fix the bet result to be winner or loser
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Apr 4, 2024
1 parent 2cf1d86 commit 2b523b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/reward/keeper/msg_server_reward_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,8 @@ func TestMsgApplyBetBonus(t *testing.T) {
UID: uuid.NewString(),
MarketUID: uuid.NewString(),
Amount: sdkmath.NewInt(301),
Result: bettypes.Bet_RESULT_LOST,
Status: bettypes.Bet_STATUS_SETTLED,
}
tApp.BetKeeper.SetBet(ctx, bet, 1)

Expand Down

0 comments on commit 2b523b7

Please sign in to comment.