Browse Source

commands: fix list_requests

closes https://github.com/spesmilo/electrum/issues/7102
patch-4
SomberNight 4 years ago
parent
commit
3ff203ea51
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/commands.py

3
electrum/commands.py

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

Loading…
Cancel
Save