From 469abb03feedcd6c11bec60771edf5b49fc513ab Mon Sep 17 00:00:00 2001 From: Javed Khan Date: Mon, 16 Jul 2018 18:51:38 +0530 Subject: [PATCH] test: http-test - don't read wallet.conf --- lib/wallet/plugin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/wallet/plugin.js b/lib/wallet/plugin.js index e20aff97..fd4db39b 100644 --- a/lib/wallet/plugin.js +++ b/lib/wallet/plugin.js @@ -34,7 +34,9 @@ class Plugin extends EventEmitter { super(); this.config = node.config.filter('wallet'); - this.config.open('wallet.conf'); + + if (node.config.bool('config')) + this.config.open('wallet.conf'); this.network = node.network; this.logger = node.logger;