Merge pull request #5533 from ErikEk/invoices-return-payment-address-addholdinvoice

invoices: return payment address and add index from addholdinvoice
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-07-21 16:54:20 -07:00
commit 30a0e6c745
6 files changed
+67 -10

No files matched your search

+1 -5
View File
@@ -248,11 +248,7 @@ func addHoldInvoice(ctx *cli.Context) error {
return err
}
printJSON(struct {
PayReq string `json:"pay_req"`
}{
PayReq: resp.PaymentRequest,
})
printRespJSON(resp)
return nil
}