Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug
Browse files Browse the repository at this point in the history
j75689 committed Mar 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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{

0 comments on commit 383aa76

Please sign in to comment.