Skip to content

Commit 365d605

Browse files
committed
Update bip21.py
1 parent 86ae11b commit 365d605

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

electrum_grs/bip21.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
# note: URI scheme handler registrations are duplicated all over the codebase:
1717
# - for Android: contrib/android/bitcoin_intent.xml
18-
# - for Linux Desktop: electrum.desktop
19-
# - for Windows (setup.exe): contrib/build-wine/electrum.nsi
18+
# - for Linux Desktop: electrum-grs.desktop
19+
# - for Windows (setup.exe): contrib/build-wine/electrum-grs.nsi
2020
# - for macOS: contrib/osx/pyinstaller.spec
2121

2222

@@ -57,7 +57,7 @@ def parse_bip21_URI(uri: str) -> dict:
5757
out = {k: v[0] for k, v in pq.items()}
5858
if address:
5959
if not bitcoin.is_address(address):
60-
raise InvalidBitcoinURI(f"Invalid bitcoin address: {address}")
60+
raise InvalidBitcoinURI(f"Invalid groestlcoin address: {address}")
6161
out['address'] = address
6262
if 'amount' in out:
6363
am = out['amount']

0 commit comments

Comments
 (0)