Skip to content

Commit 12d841d

Browse files
committed
private identity
1 parent 1328468 commit 12d841d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/comms/isocket-comms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class ISocketComms extends EventEmitter {
111111
let msg = new Message({})
112112
msg.fromJSON(replyObj)
113113

114-
let content = await msg.decrypt(this.party.privateIdentity())
114+
let content = await msg.decrypt(this.party.privateIdentity)
115115

116116
const senderPub = Routines.extractPublicKeys(msg.enc)
117117
debug('sender', sender, '\tdiscover', this.discoverRemoteIdentity)

src/comms/op/auth-op.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AuthOp extends SocketOp {
1313
}
1414

1515
async run(){
16-
const actor = this.socket.party.privateIdentity()
16+
const actor = this.socket.party.privateIdentity
1717
const aesStreamOffer = await actor.createStream( this.socket.remoteIdentity )
1818

1919
this.stream = aesStreamOffer.stream

0 commit comments

Comments
 (0)