Closed nickfarrow closed 3 years ago
Closing this, these fields only show up once the invoice has been paid..... e.g. amt_paid, amt_paid_sat...
I don't think this ideal, should probably be set to 0 until payed. Probably an issue with the underlying RPC rather than this implementation?
Not sure if this is an issue with
lnd-grpc-client
orlnd
itself, (trying to find out),When I call lookupinvoice with the
lncli
I get a response that includes fields I need:But when I run via
lnd-grpc-client
I get a different response that is missing these fields:How can I get a response that includes amount paid?
I tried generating my own
rpc_pb2.py
usingprotoc rpc.proto
but even then I get a response that differs fromlndcli
This looks closer but is still missing what I need. Is this perhaps an issue with
lndrpc
itself?Any help would be greatly appreciated. Otherwise I'm going to have to use ssh and subprocesses...