Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Jan 27, 2025
1 parent f5a2402 commit 4b5dfeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/contracts/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,12 @@ export async function findPluginRepo(
networkDeployments.PluginENSSubdomainRegistrarProxy.address;
}

let registrar;
if (subdomainRegistrarAddress === ethers.constants.AddressZero) {
// the network does not support ENS
return {pluginRepo: null, ensDomain: ''};
}

registrar = ENSSubdomainRegistrar__factory.connect(
const registrar = ENSSubdomainRegistrar__factory.connect(
subdomainRegistrarAddress,
deployer
);
Expand Down

0 comments on commit 4b5dfeb

Please sign in to comment.