remove zpay32 dep

This commit is contained in:
kiwiidb
2022-02-15 17:19:35 +01:00
parent a3b3e17d49
commit fb8fe70d07
4 changed files with 21 additions and 38 deletions

View File

@@ -51,7 +51,7 @@ func (controller *PayInvoiceController) PayInvoice(c echo.Context) error {
}
paymentRequest := reqBody.Invoice
decodedPaymentRequest, err := controller.svc.DecodePaymentRequest(paymentRequest)
decodedPaymentRequest, err := controller.svc.DecodePaymentRequest(c.Request().Context(), paymentRequest)
if err != nil {
c.Logger().Errorf("Invalid payment request: %v", err)
sentry.CaptureException(err)