From d3cfad0c64c0c6c01e44e3d55179bd1db8cbc9fd Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 30 Apr 2017 07:28:16 -0700 Subject: [PATCH] spvnode: fix config inconsistency. fixes #195. --- lib/node/spvnode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node/spvnode.js b/lib/node/spvnode.js index bc9daf4f..6bd56b3b 100644 --- a/lib/node/spvnode.js +++ b/lib/node/spvnode.js @@ -87,8 +87,8 @@ function SPVNode(options) { ssl: this.config.bool('ssl'), keyFile: this.config.path('ssl-key'), certFile: this.config.path('ssl-cert'), - host: this.config.str('host'), - port: this.config.num('port'), + host: this.config.str('http-host'), + port: this.config.num('http-port'), apiKey: this.config.str('api-key'), noAuth: this.config.bool('no-auth') });