instantiate web3 object
This commit is contained in:
parent
84191a241c
commit
0c6ced4dc9
|
@ -1,7 +1,7 @@
|
|||
var readYaml = require('read-yaml');
|
||||
var shelljs = require('shelljs');
|
||||
var shelljs_global = require('shelljs/global');
|
||||
var web3 = require('web3');
|
||||
var Web3 = require('web3');
|
||||
var commander = require('commander');
|
||||
var wrench = require('wrench');
|
||||
var grunt = require('grunt');
|
||||
|
@ -24,7 +24,7 @@ Embark = {
|
|||
this.web3 = _web3;
|
||||
}
|
||||
else {
|
||||
this.web3 = web3;
|
||||
this.web3 = new Web3();
|
||||
}
|
||||
this.chainManager = (new ChainManager());
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue