Fix SenderError name

This commit is contained in:
ekzyis 2024-11-26 02:26:32 +01:00
parent 5218a03b3a
commit bc0c6d1038
1 changed files with 1 additions and 1 deletions

View File

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