diff --git a/x/alliance/abci.go b/x/alliance/abci.go index 59ed574..4829bb5 100644 --- a/x/alliance/abci.go +++ b/x/alliance/abci.go @@ -2,6 +2,7 @@ package alliance import ( "fmt" + "time" "github.com/terra-money/alliance/x/alliance/keeper" "github.com/terra-money/alliance/x/alliance/types" @@ -12,7 +13,7 @@ import ( // EndBlocker func EndBlocker(ctx sdk.Context, k keeper.Keeper) error { - defer telemetry.ModuleMeasureSince(types.ModuleName, ctx.BlockTime(), telemetry.MetricKeyEndBlocker) + defer telemetry.ModuleMeasureSince(types.ModuleName, time.Now(), telemetry.MetricKeyEndBlocker) k.CompleteRedelegations(ctx) if err := k.CompleteUnbondings(ctx); err != nil { return fmt.Errorf("failed to complete undelegations from x/alliance module: %s", err)