Arc
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lnbits/wallets/clightning.py
|
@ -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()) |
|
|