diff --git a/lib/services/bitcoind.js b/lib/services/bitcoind.js index e3314b7a..c79bde47 100644 --- a/lib/services/bitcoind.js +++ b/lib/services/bitcoind.js @@ -1631,8 +1631,20 @@ Bitcoin.prototype.getInfo = function(callback) { return callback(self._wrapRPCError(err)); } var result = response.result; - result.network = self.node.getNetworkName(); - callback(null, result); + var info = { + version: result.version, + protocolversion: result.protocolversion, + blocks: result.blocks, + timeoffset: result.timeoffset, + connections: result.connections, + proxy: result.proxy, + difficulty: result.difficulty, + testnet: result.testnet, + relayfee: result.relayfee, + errors: result.errors, + network: self.node.getNetworkName() + }; + callback(null, info); }); };