From 2ff0df593d32c54f893cec2dae9b6352dcda83d5 Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Thu, 30 Nov 2023 16:27:13 +0100 Subject: [PATCH] Update x/staking/keeper/msg_server.go Co-authored-by: Marius Poke --- x/staking/keeper/msg_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/staking/keeper/msg_server.go b/x/staking/keeper/msg_server.go index f3086fdc3f66..e2d43b2747be 100644 --- a/x/staking/keeper/msg_server.go +++ b/x/staking/keeper/msg_server.go @@ -606,7 +606,7 @@ func (k msgServer) CancelUnbondingDelegation(goCtx context.Context, msg *types.M ctx.EventManager().EmitEvent( sdk.NewEvent( - "cancel_unbonding_delegation", + types.EventTypeCancelUnbondingDelegation, sdk.NewAttribute(sdk.AttributeKeyAmount, msg.Amount.String()), sdk.NewAttribute(types.AttributeKeyValidator, msg.ValidatorAddress), sdk.NewAttribute(types.AttributeKeyDelegator, msg.DelegatorAddress),