diff --git a/hildr-utilities/src/main/java/io/optimism/utilities/TxDecoder.java b/hildr-utilities/src/main/java/io/optimism/utilities/TxDecoder.java index e290353e..ccbd7f51 100644 --- a/hildr-utilities/src/main/java/io/optimism/utilities/TxDecoder.java +++ b/hildr-utilities/src/main/java/io/optimism/utilities/TxDecoder.java @@ -34,7 +34,7 @@ public class TxDecoder { public static DepositTransaction decodeToDeposit(final String hexTransaction) { final byte[] transaction = Numeric.hexStringToByteArray(hexTransaction); - if (transaction.length > 0 && transaction[0] != ((byte) 0x01)) { + if (transaction.length > 0 && transaction[0] != ((byte) 0x7E)) { throw new RuntimeException("tx is not type of deposit tx"); } final byte[] encodedTx = Arrays.copyOfRange(transaction, 1, transaction.length);