Ens disabled by default

This commit is contained in:
Anthony Laibe 2018-09-12 14:01:21 +01:00
parent 1ce8474824
commit 5f90b4516c
4 changed files with 4 additions and 4 deletions

View File

@ -282,9 +282,7 @@ Config.prototype.loadNameSystemConfigFile = function() {
// todo: spec out names for registration in the file itself for a dev chain // todo: spec out names for registration in the file itself for a dev chain
var configObject = { var configObject = {
"default": { "default": {
"available_providers": ["ens"], "enabled": false
"provider": "ens",
"enabled": true
} }
}; };

View File

@ -33,7 +33,7 @@ class ENS {
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this)); this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
} }
setProviderAndRegisterDomains(cb = () => {}) { setProviderAndRegisterDomains(cb) {
const self = this; const self = this;
async.parallel([ async.parallel([
function getENSRegistry(paraCb) { function getENSRegistry(paraCb) {

View File

@ -1,6 +1,7 @@
module.exports = { module.exports = {
// default applies to all environments // default applies to all environments
default: { default: {
enabled: true,
available_providers: ["ens"], available_providers: ["ens"],
provider: "ens" provider: "ens"
}, },

View File

@ -1,6 +1,7 @@
module.exports = { module.exports = {
// default applies to all environments // default applies to all environments
default: { default: {
enabled: true,
available_providers: ["ens"], available_providers: ["ens"],
provider: "ens" provider: "ens"
}, },