From 7b590ee77e68d380900af1775aa211c975cb5961 Mon Sep 17 00:00:00 2001 From: Ladd Date: Wed, 25 Dec 2024 16:15:38 -0600 Subject: [PATCH] formatting --- src/node.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/node.ts b/src/node.ts index c57d33a..32a0a6e 100644 --- a/src/node.ts +++ b/src/node.ts @@ -6,7 +6,6 @@ import {Peers} from './peers'; import {PubSub} from './pub-sub'; import {RequestReply} from './request-reply'; import {PeerAddress} from './types'; -import {Collection} from './collection'; const debug = Debug('rhizome-node'); export type RhizomeNodeConfig = { @@ -52,8 +51,14 @@ export class RhizomeNode { ...config }; debug('config', this.config); - this.myRequestAddr = new PeerAddress(this.config.requestBindHost, this.config.requestBindPort); - this.myPublishAddr = new PeerAddress(this.config.publishBindHost, this.config.publishBindPort); + this.myRequestAddr = new PeerAddress( + this.config.requestBindHost, + this.config.requestBindPort + ); + this.myPublishAddr = new PeerAddress( + this.config.publishBindHost, + this.config.publishBindPort + ); this.pubSub = new PubSub(this); this.requestReply = new RequestReply(this); this.httpApi = new HttpApi(this);