refactor blockchain check

This commit is contained in:
Iuri Matias 2018-07-26 13:15:20 -04:00
parent eda188b01e
commit 72e43f3457

View File

@ -86,15 +86,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) {