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]; })