commit e3019a70469495d80dd4ca0bf15ec93f0fb1fe3c
parent 2f31e9fa44c36140710b86657ce51ecb5ccf34fd
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 10 Mar 2020 14:29:52 +0100
(minor) fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -946,7 +946,7 @@ class LNWallet(LNWorker):
if success:
break
else:
- reason = 'failed after %d attempts' % attemps
+ reason = _(f'Failed after {attempts} attempts')
self.network.trigger_callback('invoice_status', key)
if success:
self.network.trigger_callback('payment_succeeded', key)