Skip to content

Commit

Permalink
Update storage.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ufxela authored and jqphu committed Dec 22, 2022
1 parent cf7ee1c commit 91a664b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const fetchSimulationAndUpdate = async (args: RequestArgs) => {
let response: Response;

let state = StoredSimulationState.Simulating;
if (args.chainId !== "0x1" && args.chainId !== "1" && args.chainId !== "0x89" && args.chainId !== "89") {
if (args.chainId !== "0x1" && args.chainId !== "1" && args.chainId !== "0x89" && args.chainId !== "137") {
// Automatically confirm if chain id is incorrect. This prevents the popup.
state = StoredSimulationState.Confirmed;
}
Expand Down

0 comments on commit 91a664b

Please sign in to comment.