From a1e1b63b638b0567ffd3ebb08009117450cd2f8d Mon Sep 17 00:00:00 2001 From: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:43:52 -0700 Subject: [PATCH] Update x/ccv/provider/keeper/migration.go Co-authored-by: Simon Noetzlin --- x/ccv/provider/keeper/migration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/ccv/provider/keeper/migration.go b/x/ccv/provider/keeper/migration.go index 3f04a49ef6..5d739c8bef 100644 --- a/x/ccv/provider/keeper/migration.go +++ b/x/ccv/provider/keeper/migration.go @@ -30,7 +30,7 @@ func (k Keeper) MigrateQueuedPackets(ctx sdktypes.Context) error { for _, consumer := range k.GetAllConsumerChains(ctx) { slashData, vscmData := k.GetAllThrottledPacketData(ctx, consumer.ChainId) if len(slashData) > 0 { - ctx.Logger().Error(fmt.Sprintf("slash data being dropped: %v", slashData)) + k.Logger(ctx).Error(fmt.Sprintf("slash data being dropped: %v", slashData)) } for _, data := range vscmData { k.HandleVSCMaturedPacket(ctx, consumer.ChainId, data)