mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 14:40:47 +01:00
Add a fallback to LND_REST_CERT to use the system chain if its not present (#539)
This commit is contained in:
parent
d73c3950b9
commit
251e6a8233
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue