adrienemery / lnd-grpc-client

A python grpc client/async client for LND ⚡⚡⚡
MIT License
34 stars 20 forks source link

add_invoice() got an unexpected keyword argument 'description_hash' #32

Open nickfarrow opened 2 years ago

nickfarrow commented 2 years ago

I am unable to specify a description_hash when creating an invoice. Am I doing something wrong? Or is it not yet supported by this client?

See the field on the GRPC docs: https://api.lightning.community/#addinvoice

nickfarrow commented 2 years ago

From what I can see https://github.com/adrienemery/lnd-grpc-client/pull/30 would fix this with kwargs in client.py's add_invoice.