Fix linting.

This commit is contained in:
Gav Wood 2016-12-15 22:07:25 +01:00
parent ca0d87da10
commit 869fbf5108
No known key found for this signature in database
GPG Key ID: C49C1ACA1CC9B252

View File

@ -111,7 +111,7 @@ export function outPeers (peers) {
active: outNumber(peers.active),
connected: outNumber(peers.connected),
max: outNumber(peers.max),
peers: peers.peers.map(p => { Object.keys(p.protocols).forEach(k => p.protocols[k].difficulty = outNumber(p.protocols[k].difficulty)); return p; })
peers: peers.peers.map(p => { Object.keys(p.protocols).forEach(k => { p.protocols[k].difficulty = outNumber(p.protocols[k].difficulty); }); return p; })
};
}