From 708b2f26524727baa9dd4a2fd6d6852fe7d81ddf Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Mon, 13 Apr 2020 22:23:42 +0100 Subject: [PATCH] Update lndgrpc.py --- lnbits/wallets/lndgrpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/wallets/lndgrpc.py b/lnbits/wallets/lndgrpc.py index fb222d5..4079f94 100644 --- a/lnbits/wallets/lndgrpc.py +++ b/lnbits/wallets/lndgrpc.py @@ -25,7 +25,7 @@ class LndWallet(Wallet): grpc_port = self.port ) - def create_invoice(self, amount: int, mem: str = "") -> InvoiceResponse: + def create_invoice(self, amount: int, memo: str = "") -> InvoiceResponse: lnd_rpc = lnd_grpc.Client( lnd_dir = None, @@ -37,7 +37,7 @@ class LndWallet(Wallet): ) lndResponse = lnd_rpc.add_invoice( - memo = mem, + memo = memo, value = amount, expiry = 600, private = True