fix: allow to request network without granting access to the account
This commit is contained in:
parent
90a22a1d25
commit
299bc72f8f
|
@ -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, {
|
||||
|
|
Loading…
Reference in New Issue