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

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