Skip to content

Commit

Permalink
Update arbitrum default back to mainnet for WC message signing (#6122)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchung authored Sep 20, 2024
1 parent af6d976 commit 258c506
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/walletConnect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import * as lang from '@/languages';
import store from '@/redux/store';
import { findWalletWithAccount } from '@/helpers/findWalletWithAccount';
import WalletTypes from '@/helpers/walletTypes';
import ethereumUtils from '@/utils/ethereumUtils';
import { getRequestDisplayDetails } from '@/parsers/requests';
import { WalletconnectRequestData, REQUESTS_UPDATE_REQUESTS_TO_APPROVE, removeRequest } from '@/redux/requests';
import { saveLocalRequests } from '@/handlers/localstorage/walletconnectRequests';
Expand Down Expand Up @@ -868,7 +867,7 @@ export async function onAuthRequest(event: Web3WalletTypes.AuthRequest) {
* encapsulate reused code.
*/
const loadWalletAndSignMessage = async () => {
const provider = getProvider({ chainId: ChainId.arbitrum });
const provider = getProvider({ chainId: ChainId.mainnet });
const wallet = await loadWallet({ address, showErrorIfNotLoaded: false, provider });

if (!wallet) {
Expand Down

0 comments on commit 258c506

Please sign in to comment.