mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
dont crash if ens contracts don't deploy
This commit is contained in:
parent
a1c2d7e77a
commit
f1e5aff3fb
@ -52,6 +52,12 @@ class ENS {
|
||||
});
|
||||
}
|
||||
], (err, results) => {
|
||||
if (err) {
|
||||
return cb(err);
|
||||
}
|
||||
if (!results[0] || !results[1] || !results[2]) {
|
||||
return cb(__('Aborting ENS setup as some of the contracts did not deploy properly'));
|
||||
}
|
||||
// result[0] => ENSRegistry; result[1] => FIFSRegistrar; result[2] => FIFSRegistrar
|
||||
let config = {
|
||||
env: self.env,
|
||||
|
Loading…
x
Reference in New Issue
Block a user