Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Update tasks/deploy/integrations/helpers/fullStrategy.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nenad Misic <[email protected]>
  • Loading branch information
stevieraykatz and Nenad Misic authored Sep 28, 2023
1 parent 0bed982 commit f760a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/deploy/integrations/helpers/fullStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function deployStrategySet(
const config: StratConfig = allStrategyConfigs[strategyName];

let network = await hre.ethers.provider.getNetwork();
if (network.chainId != getChainIdFromNetworkName(config.params.network)) {
if (network.chainId !== getChainIdFromNetworkName(config.params.network)) {
throw new Error(`Invalid hardhat network selected, must be ${config.params.network}`);
}

Expand Down

0 comments on commit f760a90

Please sign in to comment.