From 251e6a823355261bcfec643d125c5dd28081f016 Mon Sep 17 00:00:00 2001 From: Graham Krizek Date: Tue, 1 Mar 2022 13:58:54 -0600 Subject: [PATCH] Add a fallback to LND_REST_CERT to use the system chain if its not present (#539) --- lnbits/wallets/lndrest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/wallets/lndrest.py b/lnbits/wallets/lndrest.py index 1c2a86a0d..aa9b7b0fc 100644 --- a/lnbits/wallets/lndrest.py +++ b/lnbits/wallets/lndrest.py @@ -43,7 +43,7 @@ class LndRestWallet(Wallet): self.macaroon = load_macaroon(macaroon) self.auth = {"Grpc-Metadata-macaroon": self.macaroon} - self.cert = getenv("LND_REST_CERT") + self.cert = getenv("LND_REST_CERT", True) async def status(self) -> StatusResponse: try: