Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
q20274982 committed Feb 21, 2024
1 parent dd033e5 commit b976e90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions adapters/wagmi-connector/src/connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export function blocto({ appId }: BloctoParameters = {}) {
};

walletProvider = new BloctoSDK({ ethereum, appId })?.ethereum;

if (!walletProvider) {
throw new Error('Blocto SDK is not initialized.');
}
Expand All @@ -105,7 +104,6 @@ export function blocto({ appId }: BloctoParameters = {}) {
const recentConnectorId = await config.storage?.getItem(
'recentConnectorId'
);
console.log(config);
if (recentConnectorId !== this.id) return false;

const accounts = await this.getAccounts();
Expand Down

0 comments on commit b976e90

Please sign in to comment.