Merge pull request #552 from embark-framework/bug_fix/default-account

Register web3 object after init
This commit is contained in:
Iuri Matias 2018-06-18 14:42:41 -04:00 committed by GitHub
commit c25bf086f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,10 @@ class Blockchain {
function fundAccountsIfNeeded(next) { function fundAccountsIfNeeded(next) {
provider.fundAccounts(next); provider.fundAccounts(next);
} }
], cb); ], (err) => {
self.registerWeb3Object();
cb(err);
});
} }
onReady(callback) { onReady(callback) {