mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-27 00:42:04 +00:00
Set prologue to empty buffer
This commit is contained in:
@ -20,7 +20,7 @@ describe("IK Handshake", () => {
|
||||
const connectionFrom = Wrap(duplex[0]);
|
||||
const connectionTo = Wrap(duplex[1]);
|
||||
|
||||
const prologue = Buffer.from('/noise');
|
||||
const prologue = Buffer.alloc(0);
|
||||
const staticKeysInitiator = generateKeypair();
|
||||
const staticKeysResponder = generateKeypair();
|
||||
|
||||
@ -60,7 +60,7 @@ describe("IK Handshake", () => {
|
||||
const connectionFrom = Wrap(duplex[0]);
|
||||
const connectionTo = Wrap(duplex[1]);
|
||||
|
||||
const prologue = Buffer.from('/noise');
|
||||
const prologue = Buffer.alloc(0);
|
||||
const staticKeysInitiator = generateKeypair();
|
||||
const staticKeysResponder = generateKeypair();
|
||||
const oldScammyKeys = generateKeypair();
|
||||
|
Reference in New Issue
Block a user