register web3 after init

This commit is contained in:
Jonathan Rainville 2018-06-18 14:33:25 -04:00
parent 8ad79b63b0
commit ed1ac3af2e
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) {