mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-17 08:07:51 +00:00
fix: do not override web3 in embark
This commit is contained in:
parent
1461e95c39
commit
94a8bada7e
@ -4,7 +4,9 @@ const __embarkWeb3 = {};
|
||||
|
||||
__embarkWeb3.init = function (_config) {
|
||||
this.web3 = new Web3();
|
||||
global.web3 = this.web3;
|
||||
if (!global.web3) {
|
||||
global.web3 = this.web3;
|
||||
}
|
||||
};
|
||||
|
||||
__embarkWeb3.getAccounts = function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user