lnrpc: include payment addr in main Invoice proto
With this change ListInvoices will return the payment addr, and the response to AddInvoice will as well.
This commit is contained in:
6 files changed
+829
-773
No files matched your search
@@ -4766,6 +4766,7 @@ func (r *rpcServer) AddInvoice(ctx context.Context,
|
||||
AddIndex: dbInvoice.AddIndex,
|
||||
PaymentRequest: string(dbInvoice.PaymentRequest),
|
||||
RHash: hash[:],
|
||||
PaymentAddr: dbInvoice.Terms.PaymentAddr[:],
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user