From 699a37be9a6d0afc3bbb5861f309fe0018b313b4 Mon Sep 17 00:00:00 2001 From: Gurjot Date: Wed, 4 Dec 2024 18:07:11 +0530 Subject: [PATCH] fix --- internal/v2/queue/handler/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/v2/queue/handler/stats.go b/internal/v2/queue/handler/stats.go index cff1742..7f9b0dc 100644 --- a/internal/v2/queue/handler/stats.go +++ b/internal/v2/queue/handler/stats.go @@ -21,7 +21,7 @@ func (h *V2QueueHandler) ActiveStakingHandler(ctx context.Context, messageBody s } // Mark as v1 delegation as transitioned if it exists - if err := h.Service.MarkV1DelegationAsTransitioned(ctx, activeStakingEvent.StakingTxHashHex); err != nil { + if err := h.Services.V2Service.MarkV1DelegationAsTransitioned(ctx, activeStakingEvent.StakingTxHashHex); err != nil { log.Ctx(ctx).Error().Err(err).Msg("Failed to mark v1 delegation as transitioned") return err }