diff --git a/apps/remix-ide/src/blockchain/execution-context.js b/apps/remix-ide/src/blockchain/execution-context.js index 1fe181acfb..5e91c6569c 100644 --- a/apps/remix-ide/src/blockchain/execution-context.js +++ b/apps/remix-ide/src/blockchain/execution-context.js @@ -156,7 +156,7 @@ export class ExecutionContext { return cb() } else { if (injectedProvider && injectedProvider._metamask && injectedProvider._metamask.isUnlocked) { - if (!await injectedProvider._metamask.isUnlocked()) this.call('notification', 'toast', 'Please make sure the injected provider is unlocked (e.g Metamask).') + if (!await injectedProvider._metamask.isUnlocked()) infoCb('Please make sure the injected provider is unlocked (e.g Metamask).') } this.askPermission() this.executionContext = context diff --git a/package.json b/package.json index 169b18f4ab..ca78b75c73 100644 --- a/package.json +++ b/package.json @@ -211,7 +211,7 @@ "time-stamp": "^2.2.0", "ts-loader": "^9.2.6", "tslib": "^2.3.0", - "web3": "^1.5.1", + "web3": "^1.7.5", "winston": "^3.3.3", "ws": "^7.3.0" },