From fb30b35189c72e127998b23fcf98b21cf74b2923 Mon Sep 17 00:00:00 2001 From: Alejandro Gomez Date: Wed, 15 Feb 2023 08:25:07 +0100 Subject: [PATCH] fix: formatting --- package.json | 2 +- packages/nostr/src/Links.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 50fa6a1..91d3aab 100644 --- a/package.json +++ b/package.json @@ -7,4 +7,4 @@ "build": "yarn workspace @snort/nostr build && yarn workspace @snort/app build", "start": "yarn workspace @snort/nostr build && yarn workspace @snort/app start" } -} \ No newline at end of file +} diff --git a/packages/nostr/src/Links.ts b/packages/nostr/src/Links.ts index 01442d5..72bc5bb 100644 --- a/packages/nostr/src/Links.ts +++ b/packages/nostr/src/Links.ts @@ -29,7 +29,7 @@ export function encodeTLV(hex: string, prefix: NostrPrefix, relays?: string[]) { const tl0 = [0, buf.length, ...buf]; const tl1 = relays - ?.map(a => { + ?.map((a) => { const data = enc.encode(a); return [1, data.length, ...data]; })