Skip to content

Commit

Permalink
Merge branch 'develop' into hotfix-v9-cherry-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie authored Sep 12, 2023
2 parents 1effd3e + f3c6d6e commit 5415b16
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ func (k msgServer) VoteOnObservedOutboundTx(goCtx context.Context, msg *types.Ms
newStatus := cctx.CctxStatus.Status.String()
EmitOutboundSuccess(tmpCtx, msg, oldStatus.String(), newStatus, cctx)
case observerTypes.BallotStatus_BallotFinalized_FailureObservation:
if msg.CoinType == common.CoinType_Cmd {
if msg.CoinType == common.CoinType_Cmd || cctx.InboundTxParams.SenderChainId == common.ZetaChain().ChainId {
// if the cctx is of coin type cmd or the sender chain is zeta chain, then we do not revert, the cctx is aborted
cctx.CctxStatus.ChangeStatus(types.CctxStatus_Aborted, "")
} else {
switch oldStatus {
Expand Down

0 comments on commit 5415b16

Please sign in to comment.