wallet-node: fix client cfg parsing

This commit is contained in:
Nodar Chkuaselidze 2018-06-25 13:46:55 +04:00 committed by Javed Khan
parent ef43dad9ee
commit 92ebbbdde7

View File

@ -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')
});