diff --git a/deploy/002_deploy_hub.ts b/deploy/002_deploy_hub.ts index 0e10c570..8be8f900 100644 --- a/deploy/002_deploy_hub.ts +++ b/deploy/002_deploy_hub.ts @@ -42,7 +42,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { setContractInHub: false, }); - if (previousHubControllerAddress == null) { + if (previousHubControllerAddress === null) { const hubAddress = hre.helpers.contractDeployments.contracts['Hub'].evmAddress; const Hub = await hre.ethers.getContractAt('Hub', hubAddress, deployer);