mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-21 04:38:49 +00:00
refactor blockchain check
This commit is contained in:
parent
4e04f78eaa
commit
3f82d7140e
@ -85,15 +85,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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user