Merge pull request #814 from embark-framework/bugfix/ens-without-config-no-crash

Prevent embark to crash when there is no config for ens
This commit is contained in:
Jonathan Rainville 2018-09-12 10:01:26 -04:00 committed by GitHub
commit b34174738c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 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
var configObject = {
"default": {
"available_providers": ["ens"],
"provider": "ens",
"enabled": true
"enabled": false
}
};

View File

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

View File

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