fix: formatting
This commit is contained in:
parent
bf7232b2f4
commit
fb30b35189
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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];
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user