diff --git a/lib/modules/deployment/index.js b/lib/modules/deployment/index.js index 2772b984..bb3390f0 100644 --- a/lib/modules/deployment/index.js +++ b/lib/modules/deployment/index.js @@ -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) {