Merge pull request #376 from kiwiidb/main

fix bug in nip47 scheme check
pull/377/head
Vitor Pamplona 2023-04-25 05:08:13 -04:00 zatwierdzone przez GitHub
commit a5a320b889
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -14,7 +14,7 @@ object Nip47 {
val url = Uri.parse(uri)
if (url.scheme != "nostrwalletconnect" || url.scheme != "nostr+walletconnect") {
if (url.scheme != "nostrwalletconnect" && url.scheme != "nostr+walletconnect") {
throw IllegalArgumentException("Not a Wallet Connect QR Code")
}