diff --git a/lib/contracts/deploy_manager.js b/lib/contracts/deploy_manager.js index 46c7a22ba..51a57ffb6 100644 --- a/lib/contracts/deploy_manager.js +++ b/lib/contracts/deploy_manager.js @@ -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) {