Merge pull request #535 from tuxcanfly/tests-no-config

test: http-test - don't read wallet.conf
This commit is contained in:
Javed Khan 2018-08-06 20:55:36 +05:30 committed by GitHub
commit 86ba087f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;