mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-11 01:31:26 +00:00
Fix eslint
This commit is contained in:
@ -7,7 +7,7 @@ interface ReturnEncryptionWrapper {
|
||||
}
|
||||
|
||||
// Returns generator that encrypts payload from the user
|
||||
export function encryptStream(handshake: Handshake): ReturnEncryptionWrapper {
|
||||
export function encryptStream(handshake: Handshake): ReturnEncryptionWrapper {
|
||||
return async function * (source) {
|
||||
for await (const chunk of source) {
|
||||
const chunkBuffer = Buffer.from(chunk);
|
||||
|
Reference in New Issue
Block a user