Skip to content

Commit

Permalink
hotfix: connect Web3Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytc13579 committed Oct 28, 2024
1 parent 5c282d5 commit e52755b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Providers/AuthenticatedProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const AuthenticatedProvider: React.FC<PropsWithChildren> = ({
try {
console.log('AuthenticatedProvider', 'init', 'start');
const web3AuthInstance = new Web3Auth({
chainConfig: CHAIN_CONFIG.nos as any,
chainConfig: CHAIN_CONFIG.mainnet as any,

// please uncomment here for dev when node dead

Expand Down
2 changes: 1 addition & 1 deletion src/Providers/Web3Auth_vs2/Web3Auth.initNoModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CHAIN_CONFIG } from './chainConfig';

// Private Key format EVM (Ex: Ethereum, NOS,....)
const privateKeyProvider = new EthereumPrivateKeyProvider({
config: { chainConfig: CHAIN_CONFIG.nos },
config: { chainConfig: CHAIN_CONFIG.ethereum },
});

// web3auth Instance
Expand Down

0 comments on commit e52755b

Please sign in to comment.