From 92ebbbdde72d63cf8872f2c7527e2436a078eb57 Mon Sep 17 00:00:00 2001 From: Nodar Chkuaselidze Date: Mon, 25 Jun 2018 13:46:55 +0400 Subject: [PATCH] wallet-node: fix client cfg parsing --- lib/wallet/node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallet/node.js b/lib/wallet/node.js index 8b148034..5d85ef9e 100644 --- a/lib/wallet/node.js +++ b/lib/wallet/node.js @@ -34,8 +34,8 @@ class WalletNode extends Node { network: this.network, url: this.config.str('node-url'), host: this.config.str('node-host'), - port: this.config.str('node-port', this.network.rpcPort), - ssl: this.config.str('node-ssl'), + port: this.config.uint('node-port', this.network.rpcPort), + ssl: this.config.bool('node-ssl'), apiKey: this.config.str('node-api-key') });