Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Jun 7, 2024
1 parent b497cbc commit d437a39
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions x/crosschain/keeper/cctx_orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (k Keeper) validateFailedOutboundObservers(ctx sdk.Context, cctx *types.Cro
}
}
} else {
err := k.validateFailedOutbound(ctx, cctx, oldStatus, "", cctx.GetCurrentOutboundParam().Amount)
err := k.validateFailedOutbound(ctx, cctx, oldStatus, "Outbound failed, start revert", cctx.GetCurrentOutboundParam().Amount)
if err != nil {
return cosmoserrors.Wrap(err, "validateFailedOutbound")
}
Expand Down Expand Up @@ -193,9 +193,6 @@ func (k Keeper) validateFailedOutbound(
if err != nil {
return err
}
if revertMsg == "" {
revertMsg = "Outbound failed, start revert"
}
// Not setting the finalization status here, the required changes have been made while creating the revert tx
cctx.SetPendingRevert(revertMsg)
case types.CctxStatus_PendingRevert:
Expand Down

0 comments on commit d437a39

Please sign in to comment.