From cde091132e428746ae7bf0158538974ac66a57b0 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Sun, 9 Feb 2025 11:54:12 -0300 Subject: [PATCH] fix: remove comment --- src/controllers/api/ditto.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/api/ditto.ts b/src/controllers/api/ditto.ts index f014adc4..7251f3fa 100644 --- a/src/controllers/api/ditto.ts +++ b/src/controllers/api/ditto.ts @@ -539,8 +539,7 @@ export const swapNutzapsToWalletController: AppController = async (c) => { return c.json({ error: 'You do not have any mints in your nutzap information event.' }, 400); } - //const nutzapsFilter: NostrFilter = { kinds: [9321], '#p': [pubkey], '#u': mints }; - const nutzapsFilter: NostrFilter = { kinds: [9321], '#p': [pubkey] }; + const nutzapsFilter: NostrFilter = { kinds: [9321], '#p': [pubkey], '#u': mints }; // TODO: index 'u' tags const [nutzapHistory] = await store.query([{ kinds: [7376], authors: [pubkey] }], { signal }); if (nutzapHistory) {