Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove supported chainId constraint in injected connector initialisation #770

Merged
merged 3 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/elements/walletConnect/WalletConnectModalError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ export const WalletConnectModalError = ({
selectedWallet ? selectedWallet.name : 'Wallet'
}`}
</p>
<p className="text-12">Please try again or contact support</p>
<p className="text-12">
If you have multiple wallets on the browser, please disable them,
keep MetaMask active and try again
</p>
</div>
)}
</div>
Expand Down
4 changes: 1 addition & 3 deletions src/services/web3/wallet/connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ export const ALCHEMY_URL = `https://eth-mainnet.alchemyapi.io/v2/${

const appName = 'bancor';

export const injected = new InjectedConnector({
supportedChainIds: [1, 3, 4, 5, 42],
});
export const injected = new InjectedConnector({});

export const gnosisSafe = new SafeAppConnector();

Expand Down
Loading