1
0

wallet API: remove get_request_status, it is redundant with get_invoice_status

This commit is contained in:
ThomasV
2022-08-26 10:47:13 +02:00
parent 291ca40c9e
commit d9f77a50e8
6 changed files with 14 additions and 32 deletions

View File

@@ -906,7 +906,7 @@ class Commands:
out = wallet.get_sorted_requests()
if f is not None:
out = [req for req in out
if f == wallet.get_request_status(wallet.get_key_for_receive_request(req))]
if f == wallet.get_invoice_status(req)]
return [wallet.export_request(x) for x in out]
@command('w')