mirror of https://github.com/waku-org/js-noise.git
fix lint
This commit is contained in:
parent
8a7121535a
commit
3e27606edc
|
@ -1,6 +1,6 @@
|
|||
import { HMACDRBG } from "@stablelib/hmac-drbg";
|
||||
import { randomBytes } from "@stablelib/random";
|
||||
import type { ISender, IMetaSetter, IReceiver } from "@waku/interfaces";
|
||||
import type { IMetaSetter, IReceiver, ISender } from "@waku/interfaces";
|
||||
import debug from "debug";
|
||||
import { EventEmitter } from "eventemitter3";
|
||||
import { pEvent } from "p-event";
|
||||
|
@ -249,7 +249,10 @@ export class WakuPairing {
|
|||
|
||||
// 2nd step
|
||||
// <- sB, eAsB {r}
|
||||
hsStep = await this.executeReadStepWithNextMessage(this.handshake.hs.toMessageNametag(), subscriptionIterator.iterator);
|
||||
hsStep = await this.executeReadStepWithNextMessage(
|
||||
this.handshake.hs.toMessageNametag(),
|
||||
subscriptionIterator.iterator
|
||||
);
|
||||
|
||||
await subscriptionIterator.stop();
|
||||
|
||||
|
@ -319,7 +322,10 @@ export class WakuPairing {
|
|||
// -> sA, sAeB, sAsB {s}
|
||||
|
||||
// The responder reads the initiator's payload sent by the initiator
|
||||
hsStep = await this.executeReadStepWithNextMessage(this.handshake.hs.toMessageNametag(), subscriptionIterator.iterator);
|
||||
hsStep = await this.executeReadStepWithNextMessage(
|
||||
this.handshake.hs.toMessageNametag(),
|
||||
subscriptionIterator.iterator
|
||||
);
|
||||
|
||||
await subscriptionIterator.stop();
|
||||
|
||||
|
|
Loading…
Reference in New Issue