fix: formatting

This commit is contained in:
Alejandro Gomez 2023-02-15 08:25:07 +01:00 committed by Kieran
parent bf7232b2f4
commit fb30b35189
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 2 additions and 2 deletions

View File

@ -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"
}
}
}

View File

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