diff --git a/protocol/lib/metrics/util.go b/protocol/lib/metrics/util.go index 0e9dd501a1..4824573ee7 100644 --- a/protocol/lib/metrics/util.go +++ b/protocol/lib/metrics/util.go @@ -74,12 +74,12 @@ func ModuleMeasureSinceWithLabels( // if the context is not CheckTx or ReCheckTx. This function is unable to account for other callbacks like // PrepareCheckState or EndBlocker. func GetCallbackMetricFromCtx(ctx sdk.Context) string { - if ctx.IsCheckTx() { - return CheckTx - } if ctx.IsReCheckTx() { return ReCheckTx } + if ctx.IsCheckTx() { + return CheckTx + } return DeliverTx }