Fix isBridgeContract handler
This commit is contained in:
parent
44ca0d71ce
commit
c02ecad8fd
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user