mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-07-28 15:02:24 +02:00
Merge pull request #376 from kiwiidb/main
fix bug in nip47 scheme check
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user