tfix #6075 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7a11c0591667fd15995e36c77af1fd344a61c061 DIR parent e50f6d29ed9c558845531a4abac0304564095efd HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 11 Apr 2020 10:56:43 +0200 fix #6075 Diffstat: M electrum/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/commands.py b/electrum/commands.py t@@ -788,6 +788,7 @@ class Commands: async def list_requests(self, pending=False, expired=False, paid=False, wallet: Abstract_Wallet = None): """List the payment requests you made.""" out = wallet.get_sorted_requests() + out = list(map(self._format_request, out)) if pending: f = PR_UNPAID elif expired: t@@ -798,7 +799,7 @@ class Commands: f = None if f is not None: out = list(filter(lambda x: x.get('status')==f, out)) - return list(map(self._format_request, out)) + return out @command('w') async def createnewaddress(self, wallet: Abstract_Wallet = None):