(minor) fix typo

This commit is contained in:
ThomasV 2020-03-10 14:29:52 +01:00
parent 2f31e9fa44
commit e3019a7046

View file

@ -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)