Skip to content

Commit f4d6588

Browse files
committed
fix: update error handling in isGeoRestricted and isWalletRestricted functions
1 parent 0ae44d9 commit f4d6588

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/extension/src/libs/utils/screening.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const isGeoRestricted = async (): Promise<boolean> => {
55
const json = await res.json();
66
return json.isRestricted;
77
}
8-
return false;
8+
return true;
99
})
10-
.catch(() => false);
10+
.catch(() => true);
1111
};
1212

1313
const walletCache: Record<string, boolean> = {};

0 commit comments

Comments
 (0)