Skip to content

Commit 67e9be2

Browse files
author
nullagent
committed
code cleanup
1 parent d20b3f8 commit 67e9be2

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

src/comms/isocket-comms.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ class ISocketComms extends EventEmitter {
100100
console.log(reply, typeof reply)
101101
console.log(typeof reply.data)
102102

103-
debug('aesStream nonce', this.aesStream.rxNonce)
104-
105-
debug('aesStream key', this.aesStream.key)
106-
107-
108103
let buf = reply.data
109104

110105
if(buf instanceof Blob){
@@ -114,8 +109,6 @@ class ISocketComms extends EventEmitter {
114109
//buf = reply.data
115110
}
116111

117-
debug('decrypt-', buf)
118-
119112
const contentBSON = await this.aesStream.decrypt( new Uint8Array(buf) )
120113
const content = Routines.BSON.parseObject(new Routines.BSON.BaseParser( contentBSON ))
121114

src/comms/peer-comms.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,6 @@ class PeerComms extends ISocketComms {
423423
debug('clienr auth op offer -', offer)
424424
debug('ALLOW - allowing client - ', this.remoteIdentity)
425425

426-
//this.aesStream = await this.party.privateIdentity.recoverStream(offer, true)
427-
428426
this.aesStream = await AESStream.recoverStream(
429427
this.party.privateIdentity,
430428
offer,

0 commit comments

Comments
 (0)