From f4106a615e5096af5dfcaac047b3daff7581f3fa Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 13 Mar 2017 21:03:04 -0700 Subject: [PATCH] rpc: fix getinfo. see #165. --- lib/http/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http/rpc.js b/lib/http/rpc.js index 1d5349cd..b201f4da 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -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,