forked from Kieran/snort
Compare commits
1 Commits
main
...
verbiricha
Author | SHA1 | Date | |
---|---|---|---|
f117ab00f4 |
@ -33,6 +33,7 @@ export function parseZap(zapReceipt: NostrEvent, userCache: FeedCache<MetadataCa
|
||||
id: zapReceipt.id,
|
||||
zapService: zapReceipt.pubkey,
|
||||
amount: (invoice?.amount ?? 0) / 1000,
|
||||
address: findTag(zapRequest, "a"),
|
||||
event: findTag(zapRequest, "e"),
|
||||
sender: zapRequest.pubkey,
|
||||
receiver: findTag(zapRequest, "p"),
|
||||
@ -84,6 +85,7 @@ export interface ParsedZap {
|
||||
amount: number;
|
||||
content?: string;
|
||||
sender?: HexKey;
|
||||
address?: string;
|
||||
valid: boolean;
|
||||
zapService: HexKey;
|
||||
anonZap: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user