From 824a92faaca9b8fa76497bc089f1bf906b744b6f Mon Sep 17 00:00:00 2001 From: Dzung Do Date: Sun, 14 Jul 2024 23:01:35 +0700 Subject: [PATCH] fix wrong event name --- x/meshsecurityprovider/keeper/handler_plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/meshsecurityprovider/keeper/handler_plugin.go b/x/meshsecurityprovider/keeper/handler_plugin.go index 61aae48b..66e51bff 100644 --- a/x/meshsecurityprovider/keeper/handler_plugin.go +++ b/x/meshsecurityprovider/keeper/handler_plugin.go @@ -96,7 +96,7 @@ func (h CustomMsgHandler) handleUnbondMsg(ctx sdk.Context, actor sdk.AccAddress, } return []sdk.Event{sdk.NewEvent( - types.EventTypeBond, + types.EventTypeUnbond, sdk.NewAttribute(sdk.AttributeKeyModule, types.ModuleName), sdk.NewAttribute(sdk.AttributeKeyAmount, coin.String()), sdk.NewAttribute(types.AttributeKeyDelegator, delAddr.String()),