Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Mar 1, 2024
1 parent 5adbfe6 commit 383aa76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/stake/handler_sidechain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 383aa76

Please sign in to comment.