rpc: fix getinfo. see #165.
This commit is contained in:
parent
ef07c52fc6
commit
f4106a615e
@ -169,7 +169,7 @@ RPC.prototype.getInfo = co(function* getInfo(args, help) {
|
||||
connections: this.pool.peers.size(),
|
||||
proxy: '',
|
||||
difficulty: this.difficulty(),
|
||||
testnet: this.network.type !== Network.main,
|
||||
testnet: this.network !== Network.main,
|
||||
keypoololdest: 0,
|
||||
keypoolsize: 0,
|
||||
unlocked_until: 0,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user