commit 0a10d6512bc8f73709aac2b7b0a7fba7feaf30ac
parent f7ecfd104d5b0ad04af72c87657c1500a9e5e341
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 3 Nov 2017 17:13:49 +0100
follow up previous commit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1313,7 +1313,7 @@ class Abstract_Wallet(PrintError):
def f(x):
try:
addr = x.get('address')
- return self.get_address_index(addr)
+ return self.get_address_index(addr) or addr
except:
return addr
return sorted(map(lambda x: self.get_payment_request(x, config), self.receive_requests.keys()), key=f)