Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy04 committed Jan 23, 2025
1 parent 295c3c4 commit 4dd57a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocol/lib/metrics/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const (
AddPerpetualFillAmount = "add_perpetual_fill_amount"
BaseQuantums = "base_quantums"
BatchCancel = "batch_cancel"
BatchCancelFailed = "batch_cancel_failed"
SingleCancelInBatchCancelFailed = "single_cancel_in_batch_cancel_failed"
BestAsk = "best_ask"
BestAskClobPair = "best_ask_clob_pair"
BestBid = "best_bid"
Expand Down
2 changes: 1 addition & 1 deletion protocol/x/clob/keeper/orders.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (k Keeper) BatchCancelShortTermOrder(
"Batch Cancel: Failed to cancel a short term order.",
log.Error, err,
)
telemetry.IncrCounter(1, types.ModuleName, metrics.BatchCancelFailed, metrics.Count)
telemetry.IncrCounter(1, types.ModuleName, metrics.SingleCancelInBatchCancelFailed)
} else {
success = append(success, clientId)
}
Expand Down

0 comments on commit 4dd57a9

Please sign in to comment.