invoices: return payment address from addholdinvoice
This commit is contained in:
1 parent
7176a212f7
commit
850dee37ee
6 files changed
+67
-10
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user