Skip to content

Commit 5ae5c03

Browse files
committed
remove debuging messages
1 parent 6a2dd9a commit 5ae5c03

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

modules/decrypt-node/src/decrypt.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ export async function decrypt (
4646
stream
4747
.once('MessageHeader', (header: MessageHeader) => { messageHeader = header })
4848
.on('data', (chunk: Buffer) => plaintext.push(chunk))
49-
.on('error', () => {
50-
console.log('wtf???')
51-
})
5249

5350
// This will check both Uint8Array|Buffer
5451
if (ciphertext instanceof Uint8Array) {

modules/decrypt-node/src/decrypt_stream.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ export function decryptStream (
4646

4747
pipeline(parseHeaderStream, verifyStream, decipherStream)
4848

49-
decipherStream.on('error', (e) => {
50-
console.log('?????', e)
51-
})
52-
5349
const stream = new Duplexify(parseHeaderStream, decipherStream)
5450

5551
// Forward header events

0 commit comments

Comments
 (0)