From 77d9d1eb4e4902e6297316d8bee3fbfeff7218ec Mon Sep 17 00:00:00 2001 From: SKP Date: Tue, 18 Jun 2019 21:37:59 +0200 Subject: [PATCH] fixed pub migration bug --- cyphernodeconf_docker/lib/config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }