Skip to content

Commit

Permalink
chore(core): remove unused ln payment types
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed May 7, 2024
1 parent f3bc86d commit 79341a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions core/api/src/domain/bitcoin/lightning/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 0 additions & 2 deletions core/api/src/graphql/error-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 79341a7

Please sign in to comment.