From 48395353556bbab7c213a42d5e7550d46e6c00d4 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 4 Mar 2026 13:29:09 -0500 Subject: [PATCH] Fixes test case for new class names --- .../com/vitorpamplona/quartz/nip04Dm/Nip04Test.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/quartz/src/iosTest/kotlin/com/vitorpamplona/quartz/nip04Dm/Nip04Test.kt b/quartz/src/iosTest/kotlin/com/vitorpamplona/quartz/nip04Dm/Nip04Test.kt index baa144ebe..eb537dbdc 100644 --- a/quartz/src/iosTest/kotlin/com/vitorpamplona/quartz/nip04Dm/Nip04Test.kt +++ b/quartz/src/iosTest/kotlin/com/vitorpamplona/quartz/nip04Dm/Nip04Test.kt @@ -20,7 +20,7 @@ */ package com.vitorpamplona.quartz.nip04Dm -import com.vitorpamplona.quartz.nip01Core.crypto.Nip01 +import com.vitorpamplona.quartz.nip01Core.crypto.Nip01Crypto import com.vitorpamplona.quartz.nip04Dm.crypto.Nip04 import kotlin.test.Test import kotlin.test.assertEquals @@ -30,8 +30,8 @@ class Nip04Test { fun encryptDecryptNIP4Test() { val msg = "Hi" - val privateKey = Nip01.privKeyCreate() - val publicKey = Nip01.pubKeyCreate(privateKey) + val privateKey = Nip01Crypto.privKeyCreate() + val publicKey = Nip01Crypto.pubKeyCreate(privateKey) val encrypted = Nip04.encrypt(msg, privateKey, publicKey) val decrypted = Nip04.decrypt(encrypted, privateKey, publicKey) @@ -43,8 +43,8 @@ class Nip04Test { fun encryptSharedSecretDecryptNIP4Test() { val msg = "Hi" - val privateKey = Nip01.privKeyCreate() - val publicKey = Nip01.pubKeyCreate(privateKey) + val privateKey = Nip01Crypto.privKeyCreate() + val publicKey = Nip01Crypto.pubKeyCreate(privateKey) val encrypted = Nip04.encrypt(msg, privateKey, publicKey) val decrypted = Nip04.decrypt(encrypted, privateKey, publicKey)