We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbaf88 commit 3a88203Copy full SHA for 3a88203
src/modules/select/wallets/xdefi.ts
@@ -19,9 +19,7 @@ function xdefi(options: CommonWalletOptions): WalletModule {
19
createLegacyProviderInterface
20
} = helpers
21
22
- const provider =
23
- (window as any).ethereum ||
24
- ((window as any).web3 && (window as any).web3.currentProvider)
+ const provider = (window as any).xfi && (window as any).xfi.ethereum
25
26
return {
27
provider,
0 commit comments