invoices: return payment address from addholdinvoice

This commit is contained in:
ErikEk committed 2021-07-19 17:05:03 +02:00
1 parent 7176a212f7
commit 850dee37ee
6 files changed
+67 -10

No files matched your search

+2
View File
@@ -354,6 +354,8 @@ func (s *Server) AddHoldInvoice(ctx context.Context,
}
return &AddHoldInvoiceResp{
AddIndex: dbInvoice.AddIndex,
PaymentRequest: string(dbInvoice.PaymentRequest),
PaymentAddr: dbInvoice.Terms.PaymentAddr[:],
}, nil
}