Skip to content

Commit

Permalink
fix new cctx status checking bug
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Jul 16, 2024
1 parent f048551 commit cb06367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/crosschain/keeper/cctx_gateway_zevm.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (c CCTXGatewayZEVM) InitiateOutbound(
}

newCCTXStatus = c.crosschainKeeper.ValidateOutboundZEVM(ctx, config.CCTX, err, isContractReverted)
if newCCTXStatus == types.CctxStatus_PendingOutbound || newCCTXStatus == types.CctxStatus_PendingRevert {
if newCCTXStatus == types.CctxStatus_OutboundMined || newCCTXStatus == types.CctxStatus_PendingRevert {
commit()
}

Expand Down

0 comments on commit cb06367

Please sign in to comment.