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.
2 parents de8abf2 + 797ae43 commit b74062dCopy full SHA for b74062d
apps/remix-ide/src/app/providers/injected-provider.tsx
@@ -60,7 +60,6 @@ export class InjectedProvider extends Plugin implements IProvider {
60
return resolve({ jsonrpc: '2.0', error: 'no injected provider found', id: data.id })
61
}
62
try {
63
- if ((window as any) && typeof (window as any).ethereum.request === "function") (window as any).ethereum.request({ method: "eth_requestAccounts" });
64
let resultData = await this.provider.currentProvider.send(data.method, data.params)
65
if (resultData) {
66
if (resultData.jsonrpc && resultData.jsonrpc === '2.0') {
0 commit comments