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