diff --git a/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip47WalletConnect/NwcNotificationEvent.kt b/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip47WalletConnect/NwcNotificationEvent.kt index 9e9af6b2c..d5884bbb1 100644 --- a/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip47WalletConnect/NwcNotificationEvent.kt +++ b/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip47WalletConnect/NwcNotificationEvent.kt @@ -48,7 +48,7 @@ class NwcNotificationEvent( suspend fun decryptNotification(signer: NostrSigner): Notification { if (!canDecrypt(signer)) throw SignerExceptions.UnauthorizedDecryptionException() - val jsonText = signer.nip44Decrypt(content, talkingWith(signer.pubKey)) + val jsonText = signer.decrypt(content, talkingWith(signer.pubKey)) return OptimizedJsonMapper.fromJsonTo(jsonText) }