1
0
forked from Kieran/snort

anon zap tag

This commit is contained in:
Kieran 2023-04-14 17:50:30 +01:00
parent 0850e0d310
commit bc923187bc
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -132,7 +132,7 @@ export default function SendSats(props: SendSatsProps) {
console.debug("Generated new key for zap: ", randomKey);
const publisher = new EventPublisher(randomKey.publicKey, randomKey.privateKey);
zap = await publisher.zap(amount * 1000, author, relays, note, comment);
zap = await publisher.zap(amount * 1000, author, relays, note, comment, eb => eb.tag(["anon", ""]));
} else {
zap = await publisher.zap(amount * 1000, author, relays, note, comment);
}