Skip to content

Commit a91d7fd

Browse files
committed
Fix env var check
1 parent b8c2f87 commit a91d7fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/deployment/deployTokenBridgeCreator.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ export const deployTokenBridgeCreator = async () => {
4545
throw new Error('Missing BASECHAIN_WETH in env vars')
4646
}
4747
if (
48-
!envVars.rollupAddress &&
49-
!envVars.childChainRpc &&
48+
!(envVars.rollupAddress && envVars.childChainRpc) &&
5049
!envVars.gasLimitForL2FactoryDeployment
5150
) {
5251
throw new Error(

0 commit comments

Comments
 (0)