Merge pull request #224 from getAlby/fix/zeus-error

don't omit payment error when empty
This commit is contained in:
kiwiidb
2022-08-08 11:03:10 +02:00
committed by GitHub

View File

@@ -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"`
}