diff --git a/cyphernodeconf_docker/lib/config.js b/cyphernodeconf_docker/lib/config.js index 5fa1f73..b3640df 100644 --- a/cyphernodeconf_docker/lib/config.js +++ b/cyphernodeconf_docker/lib/config.js @@ -178,9 +178,7 @@ module.exports = class Config { } // xpub && use_xpub - if( !this.data.xpub ) { - this.data.use_xpub = false; - } + this.data.use_xpub = !!this.data.xpub; }