Skip to content

Commit

Permalink
fix: chainId
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenberg-2077 committed Oct 12, 2023
1 parent cb48ea3 commit b90b0e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/background/controller/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,7 @@ export class WalletController extends BaseController {
keyring = new WalletConnect(GET_WALLETCONNECT_CONFIG());
isNewKey = true;
}
keyring.initConnector(brandName, !chainId ? 1 : chainId);
keyring.initConnector(brandName, 1);
let stashId = curStashId;
if (isNewKey) {
stashId = this.addKeyringToStash(keyring);
Expand Down
4 changes: 3 additions & 1 deletion src/utils/walletconnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export const GET_WALLETCONNECT_CONFIG = () => {
clientMeta: {
description: t('global.appDescription'),
url: 'https://rabby.io',
icons: ['https://rabby.io/assets/images/logo.png'],
icons: [
'https://static-assets.rabby.io/files/122da969-da58-42e9-ab39-0a8dd38d94b8.png',
],
name: 'Rabby',
},
projectId: 'ed21a1293590bdc995404dff7e033f04',
Expand Down

0 comments on commit b90b0e5

Please sign in to comment.