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
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user