diff --git a/burner-wallet-plugin/tokenbridge-bw-exchange/src/utils/utils.ts b/burner-wallet-plugin/tokenbridge-bw-exchange/src/utils/utils.ts index e6b6a45e1..2b3794eb9 100644 --- a/burner-wallet-plugin/tokenbridge-bw-exchange/src/utils/utils.ts +++ b/burner-wallet-plugin/tokenbridge-bw-exchange/src/utils/utils.ts @@ -51,6 +51,9 @@ export const isBridgeContract = async (contract: Contract, allowedModes?: string } return allowedModes.includes(mode) } catch (e) { - return false + if (e.message.includes("Returned values aren't valid")) { + return false + } + throw e } }