From bbed344f60e291dd3dea10be9f10affa5f92f975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Calder=C3=B3n?= Date: Fri, 5 Jul 2024 10:27:45 -0300 Subject: [PATCH] Update nostr event Following this nip proposal https://github.com/nostr-protocol/nips/pull/1331 --- bot/modules/nostr/events.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot/modules/nostr/events.js b/bot/modules/nostr/events.js index 407d48fb..a9af29ec 100644 --- a/bot/modules/nostr/events.js +++ b/bot/modules/nostr/events.js @@ -36,9 +36,11 @@ const orderToTags = async order => { tags.push(['community_id', order.community_id]); } tags.push(['source', source]); + tags.push(['network', 'mainnet']); + tags.push(['layer', 'lightning']); + tags.push(['expiration', expiration.toString()]); tags.push(['y', 'lnp2pbot']); tags.push(['z', 'order']); - tags.push(['expiration', expiration.toString()]); return tags; };