From b5de10156d73169bb673a4b397419aa7e3271eda Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sat, 2 Jan 2016 23:36:10 +0100 Subject: [PATCH] http server: fix bug in how peer ids are returned --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index ac37d77..bbb58b0 100644 --- a/server.js +++ b/server.js @@ -447,7 +447,7 @@ Server.prototype._onAnnounce = function (params, cb) { // IPv6 peers are not separate for non-compact responses response.peers = response.peers.map(function (peer) { return { - 'peer id': peer.peerId, + 'peer id': common.hexToBinary(peer.peerId), ip: peer.ip, port: peer.port }