From 93f33028b4e08afeed21f14d1126b729b480a46e Mon Sep 17 00:00:00 2001 From: Belma Gutlic Date: Wed, 15 Jan 2020 11:54:49 +0100 Subject: [PATCH] Remove unused vars --- src/handshakes/ik.ts | 2 +- src/noise.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/handshakes/ik.ts b/src/handshakes/ik.ts index 8d41e49..75d646e 100644 --- a/src/handshakes/ik.ts +++ b/src/handshakes/ik.ts @@ -3,7 +3,7 @@ import {BN} from "bn.js"; import {HandshakeState, MessageBuffer, NoiseSession} from "../@types/handshake"; import {bytes, bytes32} from "../@types/basic"; -import {generateKeypair, getHkdf, isValidPublicKey} from "../utils"; +import {generateKeypair, isValidPublicKey} from "../utils"; import {AbstractHandshake} from "./abstract-handshake"; import {KeyPair} from "../@types/libp2p"; diff --git a/src/noise.ts b/src/noise.ts index 752e2a7..4d708dc 100644 --- a/src/noise.ts +++ b/src/noise.ts @@ -177,7 +177,6 @@ export class Noise implements INoiseConnection { private async performIKHandshake( handshake: IKHandshake, - payload: bytes, ): Promise { await handshake.stage0();