Skip to content

Commit

Permalink
Merge pull request #63 from axieinfinity/implement-feature/create-for…
Browse files Browse the repository at this point in the history
…k/fix-try-create-fork

feat(create-fork): implement `fix-try-create-fork`
  • Loading branch information
huyhuynh3103 authored Jan 20, 2024
2 parents cf6be21 + f10ac93 commit 3082953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/configs/NetworkConfig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ abstract contract NetworkConfig is INetworkConfig {
currentFork = forkId;
} catch {
console.log(StdStyle.yellow("NetworkConfig: fork mode disabled, no active fork"));
return NULL_FORK_ID;
currentFork = NULL_FORK_ID;
}

if (chainId == block.chainid) return currentFork;
Expand Down

0 comments on commit 3082953

Please sign in to comment.