diff --git a/controllers/payinvoice.ctrl.go b/controllers/payinvoice.ctrl.go index c8a9a8e7..bb3f8afd 100644 --- a/controllers/payinvoice.ctrl.go +++ b/controllers/payinvoice.ctrl.go @@ -34,7 +34,7 @@ type PayInvoiceResponseBody struct { Amount int64 `json:"num_satoshis,omitempty"` Description string `json:"description,omitempty"` DescriptionHashStr string `json:"description_hash,omitempty"` - PaymentError string `json:"payment_error,omitempty"` + PaymentError string `json:"payment_error"` PaymentPreimage *lib.JavaScriptBuffer `json:"payment_preimage,omitempty"` PaymentRoute *service.Route `json:"payment_route,omitempty"` }