Browse Source

Update lndgrpc.py

fee_issues
Arc 5 years ago
committed by GitHub
parent
commit
708b2f2652
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lnbits/wallets/lndgrpc.py

4
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

Loading…
Cancel
Save