mirror of https://github.com/embarklabs/embark.git
Merge pull request #552 from embark-framework/bug_fix/default-account
Register web3 object after init
This commit is contained in:
commit
c25bf086f9
|
@ -90,7 +90,10 @@ class Blockchain {
|
|||
function fundAccountsIfNeeded(next) {
|
||||
provider.fundAccounts(next);
|
||||
}
|
||||
], cb);
|
||||
], (err) => {
|
||||
self.registerWeb3Object();
|
||||
cb(err);
|
||||
});
|
||||
}
|
||||
|
||||
onReady(callback) {
|
||||
|
|
Loading…
Reference in New Issue