commit 253df89af5a9a84881a66faa3105d766f63a4bb8
parent de018a72a6e107ef6cc9cd8a5746913c012e1071
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 6 Jan 2017 18:12:10 +0100
fix #2101
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1126,7 +1126,7 @@ class Abstract_Wallet(PrintError):
domain = self.get_receiving_addresses()
choice = domain[0]
for addr in domain:
- if addr not in self.history.keys():
+ if not self.history.get(addr):
if addr not in self.receive_requests.keys():
return addr
else: