UI bugs #301

Merged
verbiricha merged 10 commits from ui-bugs into main 2023-02-15 14:26:34 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit fb30b35189 - Show all commits

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