We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47c2a20 commit 01e5347Copy full SHA for 01e5347
1 file changed
src/ExtensionTools/ethereum.ts
@@ -24,7 +24,7 @@ export interface AddEthereumChainParameter {
24
}
25
26
27
-export const requestAccounts = async (): Promise<Promise<IEthereumRequestAccountsResult>> => {
+export const requestAccounts = async (): Promise<IEthereumRequestAccountsResult> => {
28
if (typeof window === 'undefined' || !(window as any).ethereum) {
29
return {accounts: [], selectedAddress: null, info: {extensionFound: false}}
30
0 commit comments