wallet-node: fix client cfg parsing
This commit is contained in:
parent
ef43dad9ee
commit
92ebbbdde7
@ -34,8 +34,8 @@ class WalletNode extends Node {
|
|||||||
network: this.network,
|
network: this.network,
|
||||||
url: this.config.str('node-url'),
|
url: this.config.str('node-url'),
|
||||||
host: this.config.str('node-host'),
|
host: this.config.str('node-host'),
|
||||||
port: this.config.str('node-port', this.network.rpcPort),
|
port: this.config.uint('node-port', this.network.rpcPort),
|
||||||
ssl: this.config.str('node-ssl'),
|
ssl: this.config.bool('node-ssl'),
|
||||||
apiKey: this.config.str('node-api-key')
|
apiKey: this.config.str('node-api-key')
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user