Skip to content

Commit

Permalink
fix: add msgwager handler to subaccount
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Nov 9, 2023
1 parent 082ad59 commit 92c165a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/subaccount/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ func NewHandler(k keeper.Keeper) sdk.Handler {
case *types.MsgWithdrawUnlockedBalances:
res, err := msgServer.WithdrawUnlockedBalances(sdk.WrapSDKContext(ctx), msg)
return sdk.WrapServiceResult(ctx, res, err)
case *types.MsgWager:
res, err := msgServer.Wager(sdk.WrapSDKContext(ctx), msg)
return sdk.WrapServiceResult(ctx, res, err)
case *types.MsgHouseDeposit:
res, err := msgServer.HouseDeposit(sdk.WrapSDKContext(ctx), msg)
return sdk.WrapServiceResult(ctx, res, err)
Expand Down

0 comments on commit 92c165a

Please sign in to comment.