From 06bb34123ac6698f4f05cc5a53f82db3a1aae3ab Mon Sep 17 00:00:00 2001 From: Sky Young Date: Wed, 3 Oct 2018 13:04:34 -0600 Subject: [PATCH] Add `config: true` to fcoin config to allow use of `fcoin.conf` file in `datadir` This is mainly to allow the setting and changing of API keys in a seperate file, in case people want to access --- lib/services/p2p/bcoin.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/services/p2p/bcoin.js b/lib/services/p2p/bcoin.js index 86b4a645..83db8a18 100644 --- a/lib/services/p2p/bcoin.js +++ b/lib/services/p2p/bcoin.js @@ -42,7 +42,8 @@ Bcoin.prototype._getConfig = function(options) { logLevel: 'info', port: options.port, persistent: true, - workers: true + workers: true, + config: true }; if (options.prefix) { config.prefix = options.prefix; diff --git a/package.json b/package.json index 13185e52..e6dd8d8a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "node": ">=8.0.0" }, "author": "BitPay ", - "version": "5.0.0-beta.72", + "version": "5.0.0-beta.73", "main": "./index.js", "repository": "git://github.com/oipwg/flocore-node.git", "homepage": "https://github.com/oipwg/flocore-node",