Merge pull request #376 from kiwiidb/main

fix bug in nip47 scheme check
This commit is contained in:
Vitor Pamplona 2023-04-25 05:08:13 -04:00 committed by GitHub
commit a5a320b889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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