mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 20:14:59 +02:00
Update lnd.py
This commit is contained in:
@@ -16,7 +16,7 @@ class LndWallet(Wallet):
|
|||||||
r = post(
|
r = post(
|
||||||
url=f"{self.endpoint}/v1/invoices",
|
url=f"{self.endpoint}/v1/invoices",
|
||||||
headers=self.auth_admin, verify=False,
|
headers=self.auth_admin, verify=False,
|
||||||
json={"value": "100", "memo": memo, "private": True},
|
json={"value": amount, "memo": memo, "private": True},
|
||||||
)
|
)
|
||||||
|
|
||||||
if r.ok:
|
if r.ok:
|
||||||
|
Reference in New Issue
Block a user