Fix SenderError name
This commit is contained in:
parent
5218a03b3a
commit
bc0c6d1038
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user