mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-29 12:12:46 +02:00
Fixed a variable name for NIP-05
This commit is contained in:
@@ -25,10 +25,10 @@ class Nip05Verifier {
|
|||||||
return null
|
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)
|
val scope = CoroutineScope(Job() + Dispatchers.IO)
|
||||||
scope.launch {
|
scope.launch {
|
||||||
fetchNip05JsonSuspend(lnaddress, onSuccess, onError)
|
fetchNip05JsonSuspend(nip05address, onSuccess, onError)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user