Skip to content

Commit

Permalink
what
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx committed Mar 27, 2024
1 parent e044a9e commit ab94dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,12 @@ func (h *lockingAnteHandler) clobAnteHandle(ctx sdk.Context, tx sdk.Tx, simulate
switch msg := msgs[0].(type) {
case *types.MsgCancelOrder:
orderId = msg.OrderId
if orderId.ClientId%23 == 0 {
if orderId.ClientId%97 == 0 {
ctx.Logger().Error("roycloblog", "order_id", orderIdStr(orderId, "cancel"), "block_height", ctx.BlockHeight())
}
case *types.MsgPlaceOrder:
orderId = msg.Order.OrderId
if orderId.ClientId%23 == 0 {
if orderId.ClientId%97 == 0 {
ctx.Logger().Error("roycloblog", "order_id", orderIdStr(orderId, "place"), "block_height", ctx.BlockHeight())
}
}
Expand Down

0 comments on commit ab94dd9

Please sign in to comment.