Skip to content

Commit 01e5347

Browse files
committed
fixed double promise in ethereum extension wrapper
1 parent 47c2a20 commit 01e5347

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ExtensionTools/ethereum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface AddEthereumChainParameter {
2424
}
2525

2626

27-
export const requestAccounts = async (): Promise<Promise<IEthereumRequestAccountsResult>> => {
27+
export const requestAccounts = async (): Promise<IEthereumRequestAccountsResult> => {
2828
if (typeof window === 'undefined' || !(window as any).ethereum) {
2929
return {accounts: [], selectedAddress: null, info: {extensionFound: false}}
3030
}

0 commit comments

Comments
 (0)