Compare commits

...

1 Commits

Author SHA1 Message Date
Kirill Fedoseev
c02ecad8fd Fix isBridgeContract handler 2020-10-02 21:21:02 +03:00

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