mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-24 00:24:19 +01:00
Fixes the incorrect calculation of number invoices paid (#384)
This commit is contained in:
committed by
Rusty Russell
parent
fa567957ea
commit
3c81ac1fa8
@@ -499,7 +499,7 @@ node! Be prepared to lose your funds (but please report a bug if you do!)
|
||||
elif len([s for s in invoices if s['status'] == 'paid']) == 0:
|
||||
r += "INCOMPLETE (No payments succeeded)"
|
||||
else:
|
||||
r += "COMPLETE ({} payments received)".format(len([s for s in invoices if s['status'] == 'complete']))
|
||||
r += "COMPLETE ({} payments received)".format(len([s for s in invoices if s['status'] == 'paid']))
|
||||
stages['invoices'] = True
|
||||
|
||||
r += "\nSTAGE 6 (adding bling): "
|
||||
|
||||
Reference in New Issue
Block a user