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

View File

@ -14,7 +14,7 @@ object Nip47 {
val url = Uri.parse(uri) 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") throw IllegalArgumentException("Not a Wallet Connect QR Code")
} }