mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-14 00:11:33 +00:00
Fix log remote static key
This commit is contained in:
@ -53,7 +53,7 @@ export class IKHandshake implements IHandshake {
|
|||||||
|
|
||||||
public async stage0(): Promise<void> {
|
public async stage0(): Promise<void> {
|
||||||
logLocalStaticKeys(this.session.hs.s)
|
logLocalStaticKeys(this.session.hs.s)
|
||||||
logRemoteStaticKey(this.session.hs.re)
|
logRemoteStaticKey(this.session.hs.rs)
|
||||||
if (this.isInitiator) {
|
if (this.isInitiator) {
|
||||||
logger("IK Stage 0 - Initiator sending message...");
|
logger("IK Stage 0 - Initiator sending message...");
|
||||||
const messageBuffer = this.ik.sendMessage(this.session, this.payload);
|
const messageBuffer = this.ik.sendMessage(this.session, this.payload);
|
||||||
|
Reference in New Issue
Block a user