From b19db38b6645bd3059cd4ff1419728234b7b0d36 Mon Sep 17 00:00:00 2001 From: Marc Puig Date: Wed, 3 Jan 2024 17:01:43 +0100 Subject: [PATCH] wrong event data (#713) --- x/liquidstake/keeper/msg_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/liquidstake/keeper/msg_server.go b/x/liquidstake/keeper/msg_server.go index d0e39359f..bcaf5f954 100644 --- a/x/liquidstake/keeper/msg_server.go +++ b/x/liquidstake/keeper/msg_server.go @@ -81,7 +81,7 @@ func (k msgServer) StakeToLP(goCtx context.Context, msg *types.MsgStakeToLP) (*t sdk.NewEvent( types.EventTypeMsgStakeToLP, sdk.NewAttribute(types.AttributeKeyDelegator, msg.DelegatorAddress), - sdk.NewAttribute(types.AttributeKeyStakedAmount, msg.LiquidAmount.String()), + sdk.NewAttribute(types.AttributeKeyStakedAmount, msg.StakedAmount.String()), sdk.NewAttribute(types.AttributeKeyNewShares, newShares.String()), sdk.NewAttribute(types.AttributeKeyStkXPRTMintedAmount, stkXPRTMinted.String()), ),