mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-04 19:33:30 +02:00
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:
@@ -148,6 +148,7 @@ func CreateRPCInvoice(invoice *channeldb.Invoice,
|
||||
Htlcs: rpcHtlcs,
|
||||
Features: CreateRPCFeatures(invoice.Terms.Features),
|
||||
IsKeysend: len(invoice.PaymentRequest) == 0,
|
||||
PaymentAddr: invoice.Terms.PaymentAddr[:],
|
||||
}
|
||||
|
||||
if preimage != nil {
|
||||
|
Reference in New Issue
Block a user