Fix isBridgeContract handler

This commit is contained in:
Kirill Fedoseev 2020-10-02 21:17:42 +03:00
parent 44ca0d71ce
commit c02ecad8fd

@ -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
}
}