feat: zap details (#731)
Co-authored-by: The Daniel <dmnyc@users.noreply.github.com>
Co-authored-by: The Daniel ⚡️ <dmnycnet@proton.me>
This commit is contained in:
parent
603bd35b4a
commit
7e8f1692ac
21 changed files with 138 additions and 47 deletions
|
|
@ -329,7 +329,7 @@ class StuffStatsService {
|
|||
const info = getZapInfoFromEvent(evt)
|
||||
if (!info) return
|
||||
const { originalEventId, senderPubkey, invoice, amount, comment } = info
|
||||
if (!originalEventId || !senderPubkey) return
|
||||
if (!originalEventId || !senderPubkey || amount <= 0) return
|
||||
|
||||
return this.addZap(
|
||||
senderPubkey,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue