From 383aa7619890d750e42b92d2daa26eb32490721b Mon Sep 17 00:00:00 2001 From: j75689 Date: Fri, 1 Mar 2024 17:38:48 +0800 Subject: [PATCH] debug --- x/stake/handler_sidechain.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/stake/handler_sidechain.go b/x/stake/handler_sidechain.go index 72f0413fd..7a55d5c8f 100644 --- a/x/stake/handler_sidechain.go +++ b/x/stake/handler_sidechain.go @@ -460,6 +460,7 @@ func handleMsgSideChainUndelegate(ctx sdk.Context, msg MsgSideChainUndelegate, k ) // publish undelegate event + ctx.Logger().Info("publish undelegate event", "ctx.IsDeliverTx()", ctx.IsDeliverTx(), "PbsbServer", k.PbsbServer != nil) if k.PbsbServer != nil && ctx.IsDeliverTx() { txHash, _ := ctx.Value(baseapp.TxHashKey).(string) event := types.ChainUndelegateEvent{