Update lnd.py

This commit is contained in:
Arc
2020-02-17 16:58:44 +00:00
committed by GitHub
parent 3b530d4d5e
commit 792b787f1a

View File

@@ -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: