only enabble register in dev

This commit is contained in:
Jonathan Rainville 2018-07-25 16:27:30 -04:00 committed by Iuri Matias
parent c3ea2ff160
commit 40c363a310
2 changed files with 2 additions and 1 deletions

View File

@ -250,4 +250,4 @@ __embarkENS.isAvailable = function () {
__embarkENS.register = function () {
return new Error("Not available with ENS");
};
}

View File

@ -41,6 +41,7 @@ class ENS {
], (err, results) => {
// result[0] => ENSRegistry; result[1] => FIFSRegistrar; result[2] => FIFSRegistrar
let config = {
env: self.env,
registration: self.registration,
registryAbi: results[0].abiDefinition,
registryAddress: results[0].deployedAddress,