Fix SenderError name

This commit is contained in:
ekzyis 2024-11-26 02:26:32 +01:00
parent 5218a03b3a
commit bc0c6d1038

View File

@ -24,7 +24,7 @@ export class WalletNotEnabledError extends Error {
export class SenderError extends Error { export class SenderError extends Error {
constructor (name, hash) { constructor (name, hash) {
super(`${name} failed to pay invoice: ${hash}`) super(`${name} failed to pay invoice: ${hash}`)
this.name = 'WalletPaymentFailedError' this.name = 'SenderError'
} }
} }