diff --git a/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt b/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt index 322b964699..1b8f84833a 100644 --- a/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt +++ b/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt @@ -246,7 +246,7 @@ class KtorRelayTest { com.vitorpamplona.quartz.nip01Core.relay.client.auth.RelayAuthenticator( client = client, scope = scope, - ) { _, template -> + ) { _, template, _ -> listOf(signer.sign(template)) } try { diff --git a/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt b/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt index b1c1c21e27..862c7a4626 100644 --- a/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt +++ b/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt @@ -108,7 +108,7 @@ class Nip42AuthDmDeliveryTest { // as the DM sender, though FullAuthPolicy would accept any authenticated pubkey). val authSigner = NostrSignerSync(senderKeys) val authenticator = - RelayAuthenticator(client = client, scope = scope) { _, template -> + RelayAuthenticator(client = client, scope = scope) { _, template, _ -> listOf(authSigner.sign(template)) } try {