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
1 changed files with 4 additions and 1 deletions

View File

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