Skip to content

Commit

Permalink
Typo fix relay.go
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkeyKing44 authored Jan 18, 2025
1 parent 3cd1a78 commit 8bfc813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ func (k Keeper) HandleSlashPacket(ctx sdk.Context, consumerId string, data ccv.S
_, err = k.stakingKeeper.SlashWithInfractionReason(ctx, providerConsAddr.ToSdkConsAddr(), int64(infractionHeight),
data.Validator.Power, infractionParams.Downtime.SlashFraction, stakingtypes.Infraction_INFRACTION_DOWNTIME)
if err != nil {
k.Logger(ctx).Error("failed to slash vaidator", providerConsAddr.ToSdkConsAddr().String(), "err", err.Error())
k.Logger(ctx).Error("failed to slash validator", providerConsAddr.ToSdkConsAddr().String(), "err", err.Error())
return
}

Expand Down

0 comments on commit 8bfc813

Please sign in to comment.