Remove unused vars

This commit is contained in:
Belma Gutlic 2020-01-15 11:54:49 +01:00
parent 26cb0c5a17
commit 93f33028b4
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import {BN} from "bn.js";
import {HandshakeState, MessageBuffer, NoiseSession} from "../@types/handshake"; import {HandshakeState, MessageBuffer, NoiseSession} from "../@types/handshake";
import {bytes, bytes32} from "../@types/basic"; import {bytes, bytes32} from "../@types/basic";
import {generateKeypair, getHkdf, isValidPublicKey} from "../utils"; import {generateKeypair, isValidPublicKey} from "../utils";
import {AbstractHandshake} from "./abstract-handshake"; import {AbstractHandshake} from "./abstract-handshake";
import {KeyPair} from "../@types/libp2p"; import {KeyPair} from "../@types/libp2p";

View File

@ -177,7 +177,6 @@ export class Noise implements INoiseConnection {
private async performIKHandshake( private async performIKHandshake(
handshake: IKHandshake, handshake: IKHandshake,
payload: bytes,
): Promise<IKHandshake> { ): Promise<IKHandshake> {
await handshake.stage0(); await handshake.stage0();