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,