diff --git a/lib/http/rpc.js b/lib/http/rpc.js index 6fe68e8c..744a0a33 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -523,7 +523,7 @@ RPC.prototype.getpeerinfo = co(function* getpeerinfo(args) { id: id++, addr: peer.hostname(), addrlocal: peer.hostname(), - relaytxes: peer.outbound, + relaytxes: !peer.noRelay, lastsend: peer.lastSend / 1000 | 0, lastrecv: peer.lastRecv / 1000 | 0, bytessent: peer.socket.bytesWritten,