chore: address review

This commit is contained in:
Vasco Santos
2020-11-25 17:58:52 +01:00
parent 26c40c8dfd
commit 7e05c4a43b
25 changed files with 138 additions and 91 deletions

View File

@ -25,7 +25,7 @@ function lpEncodeExchange (exchange) {
*
* @param {PeerId} localId
* @param {Connection} conn
* @param {PeerId} remoteId
* @param {PeerId} [remoteId]
*/
async function encrypt (localId, conn, remoteId) {
const shake = handshake(conn)