Skip to content

Commit c520885

Browse files
Lightspark Engjklein24
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: 206f860500f15acd59cf6428e4efe98fe51a0ebd
1 parent 086fd84 commit c520885

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

lightspark/scripts/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Copyright ©, 2022-present, Lightspark Group, Inc. - All Rights Reserved

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ project_urls =
1717
packages = find:
1818
install_requires =
1919
cryptography
20+
eciespy
2021
pyjwt
2122
requests
2223

uma/protocol.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def encode_to_url(self) -> str:
2626
try:
2727
[identifier, host] = self.receiver_address.split("@")
2828
except ValueError as ex:
29-
raise InvalidRequestException("invalid receiver address") from ex
29+
raise InvalidRequestException(
30+
f"invalid receiver address {self.receiver_address}."
31+
) from ex
3032

3133
scheme = "http" if host.startswith("localhost:") else "https"
3234
base_url = f"{scheme}://{host}/.well-known/lnurlp/{identifier}?"

0 commit comments

Comments
 (0)