From d52416e9de2bdb4e8b3c204bc9d18483b6dfd297 Mon Sep 17 00:00:00 2001 From: gsovereignty Date: Mon, 12 Aug 2024 16:16:45 +0800 Subject: [PATCH] problem: we are not adding bitcoin addresses to valid rockets --- src/stateupdaters/AssociateBitcoinAddress.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stateupdaters/AssociateBitcoinAddress.svelte b/src/stateupdaters/AssociateBitcoinAddress.svelte index 1c99930..6ac3c72 100644 --- a/src/stateupdaters/AssociateBitcoinAddress.svelte +++ b/src/stateupdaters/AssociateBitcoinAddress.svelte @@ -58,7 +58,7 @@ !rocket.Included(association.Event.id) ) { for (let a of association.Event.getMatchingTags('a')) { - if (a == rocket.ATag()) { + if (a.length == 2 && a[1] == rocket.ATag()[1]) { let e = rocket.UpsertBitcoinAssociation(association); if (e) { e.ndk = $ndk;