|
@ -946,7 +946,7 @@ class LNWallet(LNWorker): |
|
|
if success: |
|
|
if success: |
|
|
break |
|
|
break |
|
|
else: |
|
|
else: |
|
|
reason = 'failed after %d attempts' % attemps |
|
|
reason = _(f'Failed after {attempts} attempts') |
|
|
self.network.trigger_callback('invoice_status', key) |
|
|
self.network.trigger_callback('invoice_status', key) |
|
|
if success: |
|
|
if success: |
|
|
self.network.trigger_callback('payment_succeeded', key) |
|
|
self.network.trigger_callback('payment_succeeded', key) |
|
|