Allow only new relayer software version for mainnet: 4.1.5 and higher
This commit is contained in:
parent
500d2bd0a4
commit
e8a7fec326
@ -249,7 +249,7 @@ export const actions = {
|
|||||||
const isUpdatedMajor = major === requiredMajor
|
const isUpdatedMajor = major === requiredMajor
|
||||||
|
|
||||||
if (prerelease) return false
|
if (prerelease) return false
|
||||||
return isUpdatedMajor && (Number(patch) >= 4 || netId !== 1) // Patch checking - also backwards compatibility for Mainnet
|
return isUpdatedMajor && (Number(patch) >= 5 || netId !== 1) // Patch checking - also backwards compatibility for Mainnet
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isRelayerUpdated()) {
|
if (!isRelayerUpdated()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user