diff --git a/core/api/src/domain/bitcoin/lightning/errors.ts b/core/api/src/domain/bitcoin/lightning/errors.ts index 0f8ab8fd23..561ebefbe5 100644 --- a/core/api/src/domain/bitcoin/lightning/errors.ts +++ b/core/api/src/domain/bitcoin/lightning/errors.ts @@ -20,8 +20,6 @@ export class SecretDoesNotMatchAnyExistingHodlInvoiceError extends LightningServ export class InvoiceNotFoundError extends LightningServiceError {} export class InvoiceAlreadySettledError extends LightningServiceError {} -export class LnPaymentPendingError extends LightningServiceError {} -export class LnAlreadyPaidError extends LightningServiceError {} export class MaxFeeTooLargeForRoutelessPaymentError extends LightningServiceError { level = ErrorLevel.Critical } diff --git a/core/api/src/graphql/error-map.ts b/core/api/src/graphql/error-map.ts index 6b5852c404..52bef7673f 100644 --- a/core/api/src/graphql/error-map.ts +++ b/core/api/src/graphql/error-map.ts @@ -563,8 +563,6 @@ export const mapError = (error: ApplicationError): CustomGraphQLError => { case "InvoiceNotFoundError": case "InvoiceAlreadySettledError": case "InvoiceNotPaidError": - case "LnPaymentPendingError": - case "LnAlreadyPaidError": case "PaymentNotFoundError": case "OperationInterruptedError": case "InconsistentDataError":