Skip to content

Commit

Permalink
Made comparisons in deployment scripts strict
Browse files Browse the repository at this point in the history
  • Loading branch information
u-hubar committed Dec 19, 2023
1 parent 1c8489b commit 7017386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/002_deploy_hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7017386

Please sign in to comment.