diff --git a/scripts/DeployAgTokenSideChainMultiBridge.s.sol b/scripts/DeployAgTokenSideChainMultiBridge.s.sol index 391e1f1..e58c80a 100644 --- a/scripts/DeployAgTokenSideChainMultiBridge.s.sol +++ b/scripts/DeployAgTokenSideChainMultiBridge.s.sol @@ -131,7 +131,7 @@ contract DeployAgTokenSideChainMultiBridge is Script, CommonUtils { } // add real governor - if (vm.envBool("FINALIZE")) { + if (vm.envOr("FINALIZE", false)) { ICoreBorrow(coreBorrow).removeGovernor(deployer); } } diff --git a/scripts/DeployAngleSideChainMultiBridge.s.sol b/scripts/DeployAngleSideChainMultiBridge.s.sol index 08af192..0f9d43f 100644 --- a/scripts/DeployAngleSideChainMultiBridge.s.sol +++ b/scripts/DeployAngleSideChainMultiBridge.s.sol @@ -119,7 +119,7 @@ contract DeployAngleSideChainMultiBridge is Script, CommonUtils { } // add real governor - if (vm.envBool("FINALIZE")) { + if (vm.envOr("FINALIZE", false)) { ICoreBorrow(coreBorrow).removeGovernor(deployer); } }