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 3cc280f commit 2630e20Copy full SHA for 2630e20
src/modules/select/wallets/huobiwallet.ts
@@ -19,7 +19,8 @@ function huobiwallet(options: InjectedWithBalanceOptions): WalletModule {
19
(window as any).ethereum ||
20
((window as any).web3 && (window as any).web3.currentProvider)
21
22
- const isHuobiWallet = getProviderName(huobiwalletProvider) === 'huobiwallet'
+ const isHuobiWallet =
23
+ getProviderName(huobiwalletProvider) === 'huobiwallet'
24
let createProvider
25
26
if (isHuobiWallet && rpcUrl) {
src/utilities.ts
@@ -215,7 +215,7 @@ export function getProviderName(provider: any): string | undefined {
215
return 'MYKEY'
216
}
217
218
- if (provider.isHuobiWallet) {
+ if (provider.isHbWallet) {
219
return 'huobiwallet'
220
221
0 commit comments