refactor blockchain check

This commit is contained in:
Iuri Matias 2018-07-26 13:15:20 -04:00
parent 4e04f78eaa
commit 3f82d7140e
1 changed files with 6 additions and 9 deletions

View File

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