mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24: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 () {
|
__embarkENS.register = function () {
|
||||||
return new Error("Not available with ENS");
|
return new Error("Not available with ENS");
|
||||||
};
|
}
|
||||||
|
@ -41,6 +41,7 @@ class ENS {
|
|||||||
], (err, results) => {
|
], (err, results) => {
|
||||||
// result[0] => ENSRegistry; result[1] => FIFSRegistrar; result[2] => FIFSRegistrar
|
// result[0] => ENSRegistry; result[1] => FIFSRegistrar; result[2] => FIFSRegistrar
|
||||||
let config = {
|
let config = {
|
||||||
|
env: self.env,
|
||||||
registration: self.registration,
|
registration: self.registration,
|
||||||
registryAbi: results[0].abiDefinition,
|
registryAbi: results[0].abiDefinition,
|
||||||
registryAddress: results[0].deployedAddress,
|
registryAddress: results[0].deployedAddress,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user