mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-05-29 07:21:45 +00:00
fin lint
This commit is contained in:
parent
638b0773e5
commit
22c6787250
@ -99,7 +99,7 @@ export class IKHandshake implements IHandshake {
|
||||
}
|
||||
}
|
||||
|
||||
public decrypt(ciphertext: bytes, session: NoiseSession): {plaintext: bytes, valid: boolean} {
|
||||
public decrypt(ciphertext: bytes, session: NoiseSession): {plaintext: bytes; valid: boolean} {
|
||||
const cs = this.getCS(session, false);
|
||||
return this.ik.decryptWithAd(cs, Buffer.alloc(0), ciphertext);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user