refactor blockchain check

This commit is contained in:
Iuri Matias 2018-07-26 13:15:20 -04:00 committed by Pascal Precht
parent 94422cd893
commit 8136759bbb
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D

View File

@ -86,15 +86,12 @@ class DeployManager {
return callback(); return callback();
}, },
//// TODO: could be implemented as an event (beforeDeployAll) // TODO: could be implemented as an event (beforeDeployAll)
//function checkIsConnectedToBlockchain(callback) { function checkIsConnectedToBlockchain(callback) {
// callback(); self.blockchain.onReady((err) => {
// //self.blockchain.onReady(() => { callback(err);
// // self.blockchain.assertNodeConnection((err) => { });
// // callback(err); },
// // });
// //});
//},
// TODO: this can be done on the fly or as part of the initialization // TODO: this can be done on the fly or as part of the initialization
function determineDefaultAccount(callback) { function determineDefaultAccount(callback) {