Update clightning.py

This commit is contained in:
Arc 2020-04-03 11:27:55 +01:00 committed by GitHub
parent e57bebd01b
commit 1248f85612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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())