From 10c5db82810a2f46fea5a69b2e298fb9af1e118e Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 7 Aug 2025 16:07:15 -0400 Subject: [PATCH] Fixes the encryption of NWC --- .../amethyst/model/nip47WalletConnect/NwcSignerState.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip47WalletConnect/NwcSignerState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip47WalletConnect/NwcSignerState.kt index 9444bedba..1cfa440ae 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip47WalletConnect/NwcSignerState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip47WalletConnect/NwcSignerState.kt @@ -153,7 +153,7 @@ class NwcSignerState( val walletService = settings.zapPaymentRequest.value if (walletService == null) throw IllegalArgumentException("No NIP47 setup") - val event = LnZapPaymentRequestEvent.create(bolt11, walletService.pubKeyHex, signer) + val event = LnZapPaymentRequestEvent.create(bolt11, walletService.pubKeyHex, nip47Signer.value) val filter = NWCPaymentQueryState(