Compare commits

...

1 Commits

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

View File

@@ -51,6 +51,9 @@ export const isBridgeContract = async (contract: Contract, allowedModes?: string
} }
return allowedModes.includes(mode) return allowedModes.includes(mode)
} catch (e) { } catch (e) {
if (e.message.includes("Returned values aren't valid")) {
return false return false
} }
throw e
}
} }