fix pyright issues

This commit is contained in:
dni ⚡
2023-04-04 07:49:13 +02:00
parent 5dbd9a9192
commit 2a1a0f3a2f
4 changed files with 4 additions and 81 deletions
+1
View File
@@ -24,6 +24,7 @@ class LndRestWallet(Wallet):
def __init__(self):
endpoint = settings.lnd_rest_endpoint
assert endpoint, "lnd_rest_endpoint not set"
endpoint = endpoint[:-1] if endpoint.endswith("/") else endpoint
endpoint = (
f"https://{endpoint}" if not endpoint.startswith("http") else endpoint