Skip to content

Commit

Permalink
Node/Gateway: Relayer not detecting error (#3312)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley authored Aug 22, 2023
1 parent a1d5ac2 commit 910d203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/gwrelayer/gwrelayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func SubmitVAAToContract(
return txResp, fmt.Errorf("out of gas: %s", txResp.TxResponse.RawLog)
}

if strings.Contains(txResp.TxResponse.RawLog, "failed to execute message") {
if strings.Contains(txResp.TxResponse.RawLog, "failed") {
return txResp, fmt.Errorf("submit failed: %s", txResp.TxResponse.RawLog)
}

Expand Down

0 comments on commit 910d203

Please sign in to comment.