fix having LND_GRPC_MACAROON as HEXSTRING issue #268
This commit is contained in:
parent
9b89329029
commit
a32e43b2bb
1 changed files with 5 additions and 1 deletions
|
|
@ -190,7 +190,11 @@ class LndWallet(Wallet):
|
||||||
ln.Invoice,
|
ln.Invoice,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if self.macaroon_path.split('.')[-1] == 'macaroon':
|
||||||
macaroon = load_macaroon(self.macaroon_path)
|
macaroon = load_macaroon(self.macaroon_path)
|
||||||
|
else:
|
||||||
|
macaroon = self.macaroon_path
|
||||||
|
|
||||||
async for inv in subscribe_invoices(
|
async for inv in subscribe_invoices(
|
||||||
ln.InvoiceSubscription(),
|
ln.InvoiceSubscription(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue