diff --git a/src/helpers/wire-statistics.js b/src/helpers/wire-statistics.js index ee246fe..f3acd4f 100644 --- a/src/helpers/wire-statistics.js +++ b/src/helpers/wire-statistics.js @@ -3,7 +3,7 @@ import prettyBytes from 'pretty-bytes' const generateWireStatistics = (wires) => { return wires.map(wire => ({ - peerId: sha1(wire.peerId).toString().substring(0, 100), + peerId: sha1(wire.peerId).toString().substring(0, 5), remoteAddress: wire.remoteAddress, uploadSpeed: prettyBytes(wire.uploadSpeed()) + 'ps', uploaded: prettyBytes(wire.uploaded),