mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-22 15:57:28 +02:00
Update clightning.py
This commit is contained in:
@@ -7,7 +7,7 @@ import random
|
|||||||
class CLightningWallet(Wallet):
|
class CLightningWallet(Wallet):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
l1 = LightningRpc(getenv("OPENNODE_API_ENDPOINT"))
|
l1 = LightningRpc(getenv("CLIGHTNING_RPC"))
|
||||||
|
|
||||||
def create_invoice(self, amount: int, memo: str = "") -> InvoiceResponse:
|
def create_invoice(self, amount: int, memo: str = "") -> InvoiceResponse:
|
||||||
label = "lbl{}".format(random.random())
|
label = "lbl{}".format(random.random())
|
||||||
|
Reference in New Issue
Block a user