mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-05-29 10:11:35 +00:00
Remove unused vars
This commit is contained in:
parent
26cb0c5a17
commit
93f33028b4
@ -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";
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user