Skip to content

Commit

Permalink
Disable fearless ethereum provider (#1483)
Browse files Browse the repository at this point in the history
* disable fearless ethereum provider

* Update ethers-util.ts

---------

Co-authored-by: Stefan Popov <[email protected]>
Co-authored-by: Stefan Popov <[email protected]>
  • Loading branch information
3 people authored Aug 12, 2024
1 parent 7d6376d commit cb6d863
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/ethers-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let ethereumProvider!: any;
let ethersInstance: ethersProvider | null = null;

export enum Provider {
Fearless = 'Fearless',
// Fearless = 'Fearless',
Metamask = 'Metamask',
SubWallet = 'SubWallet',
TrustWallet = 'TrustWallet',
Expand Down Expand Up @@ -102,9 +102,9 @@ async function useExtensionProvider(provider: Provider): Promise<string> {
case Provider.TrustWallet:
ethereumProvider = injectedWindow.trustwallet;
break;
case Provider.Fearless:
ethereumProvider = injectedWindow.fearlessWallet;
break;
// case Provider.Fearless:
// ethereumProvider = injectedWindow.fearlessWallet;
// break;
default:
throw new Error('Unknown provider');
}
Expand Down

0 comments on commit cb6d863

Please sign in to comment.