mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-24 10:12:01 +00:00
Set prologue to empty buffer
This commit is contained in:
@ -31,7 +31,7 @@ type HandshakeParams = {
|
||||
export class Noise implements INoiseConnection {
|
||||
public protocol = "/noise";
|
||||
|
||||
private readonly prologue = Buffer.from(this.protocol);
|
||||
private readonly prologue = Buffer.alloc(0);
|
||||
private readonly staticKeys: KeyPair;
|
||||
private readonly earlyData?: bytes;
|
||||
private useNoisePipes: boolean;
|
||||
|
Reference in New Issue
Block a user