fix: allow to request network without granting access to the account

This commit is contained in:
Anthony Laibe 2019-02-01 12:15:05 +01:00 committed by Pascal Precht
parent 90a22a1d25
commit 299bc72f8f
1 changed files with 1 additions and 1 deletions

View File

@ -91,8 +91,8 @@ Blockchain.doConnect = function(connectionList, opts, doneCb) {
try {
if (Blockchain.autoEnable) {
await ethereum.enable();
this.blockchainConnector.setProvider(ethereum);
}
this.blockchainConnector.setProvider(ethereum);
return checkConnect(next);
} catch (error) {
return next(null, {