Merge pull request #262 from kappaseijin/fixed_var_name_for_NIP-05

Fixed a variable name for NIP-05
This commit is contained in:
Vitor Pamplona 2023-03-12 10:19:23 -04:00 committed by GitHub
commit 5842a84309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
}