From 332ddc15f7ef201d69259211695d45bde3d553f2 Mon Sep 17 00:00:00 2001 From: kappaseijin Date: Sun, 12 Mar 2023 14:43:33 +0900 Subject: [PATCH] Fixed a variable name for NIP-05 --- .../java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt index 28bb298f4..27555bcac 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt @@ -25,10 +25,10 @@ class Nip05Verifier { return null } - fun fetchNip05Json(lnaddress: String, onSuccess: (String) -> Unit, onError: (String) -> Unit) { + fun fetchNip05Json(nip05address: String, onSuccess: (String) -> Unit, onError: (String) -> Unit) { val scope = CoroutineScope(Job() + Dispatchers.IO) scope.launch { - fetchNip05JsonSuspend(lnaddress, onSuccess, onError) + fetchNip05JsonSuspend(nip05address, onSuccess, onError) } }