bug: trim relays in zap
This commit is contained in:
parent
5caf5541ec
commit
5e7ce7de35
@ -199,7 +199,7 @@ export default function useEventPublisher() {
|
||||
ev.Tags.push(new Tag(["e", note], ev.Tags.length));
|
||||
}
|
||||
ev.Tags.push(new Tag(["p", author], ev.Tags.length));
|
||||
const relayTag = ["relays", ...Object.keys(relays)];
|
||||
const relayTag = ["relays", ...Object.keys(relays).map(a => a.trim())];
|
||||
ev.Tags.push(new Tag(relayTag, ev.Tags.length));
|
||||
ev.Tags.push(new Tag(["amount", amount.toString()], ev.Tags.length));
|
||||
processContent(ev, msg || "");
|
||||
|
Loading…
Reference in New Issue
Block a user