Skip to content

Commit

Permalink
fix switch case
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed May 20, 2023
1 parent ca01f51 commit 6297f30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/dex/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ func (d CheckDexGasDecorator) AnteDeps(txDeps []sdkacltypes.AccessOperation, tx
for _, msg := range tx.GetMsgs() {
// Error checking will be handled in AnteHandler
switch msg.(type) {
case *types.MsgPlaceOrders:
case *types.MsgCancelOrders:
case *types.MsgPlaceOrders, *types.MsgCancelOrders:
deps = append(deps, []sdkacltypes.AccessOperation{
// read the dex contract info
{
Expand Down

0 comments on commit 6297f30

Please sign in to comment.