Skip to content

Commit c520885

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

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

lightspark/scripts/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Copyright ©, 2022-present, Lightspark Group, Inc. - All Rights Reserved

setup.cfg

+1
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

+3-1
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)