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