diff options
Diffstat (limited to 'src/lnurl.js')
| -rw-r--r-- | src/lnurl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lnurl.js b/src/lnurl.js index 592d143..134edcf 100644 --- a/src/lnurl.js +++ b/src/lnurl.js @@ -132,7 +132,7 @@ export function buildZapRequest({ amountMsat, relays, lnurlBech32, recipientPk, const addr = zapAddrOf(eventId); if (addr) tags.push(['a', addr]); tags.push(...momentTags(moment)); - return signFn({ kind: 9734, content: comment || '', tags }); + return signFn({ kind: 9734, created_at: Math.floor(Date.now() / 1000), content: comment || '', tags }); } // GET the callback for a bolt11. When zapRequest is present this is a real zap; |
