mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-26 17:51:53 +01:00
Update clightning.py
This commit is contained in:
parent
e57bebd01b
commit
1248f85612
@ -7,7 +7,7 @@ import random
|
||||
class CLightningWallet(Wallet):
|
||||
|
||||
def __init__(self):
|
||||
l1 = LightningRpc(getenv("OPENNODE_API_ENDPOINT"))
|
||||
l1 = LightningRpc(getenv("CLIGHTNING_RPC"))
|
||||
|
||||
def create_invoice(self, amount: int, memo: str = "") -> InvoiceResponse:
|
||||
label = "lbl{}".format(random.random())
|
||||
|
Loading…
x
Reference in New Issue
Block a user