mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
only enabble register in dev
This commit is contained in:
parent
c3ea2ff160
commit
40c363a310
@ -250,4 +250,4 @@ __embarkENS.isAvailable = function () {
|
||||
|
||||
__embarkENS.register = function () {
|
||||
return new Error("Not available with ENS");
|
||||
};
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user