From 77e849f0561265ea288809dfa077e8e0141c9990 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Fri, 3 Apr 2020 12:12:21 +0100 Subject: [PATCH] Update clightning.py --- lnbits/wallets/clightning.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lnbits/wallets/clightning.py b/lnbits/wallets/clightning.py index afaffe9..62c69c9 100644 --- a/lnbits/wallets/clightning.py +++ b/lnbits/wallets/clightning.py @@ -10,10 +10,8 @@ class CLightningWallet(Wallet): self.l1 = LightningRpc(getenv("CLIGHTNING_RPC")) def create_invoice(self, amount: int, memo: str = "") -> InvoiceResponse: - print(self.l1) label = "lbl{}".format(random.random()) r = self.l1.invoice(amount*1000, label, memo, exposeprivatechannels=True) - print(r) ok, checking_id, payment_request, error_message = True, r["payment_hash"], r["bolt11"], None return InvoiceResponse(ok, checking_id, payment_request, error_message)