Skip to content

Commit

Permalink
make every msg lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
fbac committed Oct 7, 2024
1 parent b0c1ffc commit 21ca074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/crosschain/keeper/cctx_orchestrator_validate_outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (k Keeper) processFailedZETAOutboundOnZEVM(ctx sdk.Context, cctx *types.Cro
}

// Trying to revert the transaction this would get set to a finalized status in the same block as this does not need a TSS singing
cctx.SetPendingRevert("", "Outbound failed")
cctx.SetPendingRevert("", "outbound failed")
data, err := base64.StdEncoding.DecodeString(cctx.RelayedMessage)
if err != nil {
return fmt.Errorf("failed decoding relayed message: %s", err.Error())
Expand Down Expand Up @@ -338,7 +338,7 @@ func (k Keeper) processFailedOutboundV2(ctx sdk.Context, cctx *types.CrossChainT
}

// update status
cctx.SetPendingRevert("", "Outbound failed")
cctx.SetPendingRevert("", "outbound failed")

Check warning on line 341 in x/crosschain/keeper/cctx_orchestrator_validate_outbound.go

View check run for this annotation

Codecov / codecov/patch

x/crosschain/keeper/cctx_orchestrator_validate_outbound.go#L341

Added line #L341 was not covered by tests

// process the revert on ZEVM
if err := k.fungibleKeeper.ProcessV2RevertDeposit(
Expand Down

0 comments on commit 21ca074

Please sign in to comment.