tfix #2101 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 253df89af5a9a84881a66faa3105d766f63a4bb8 DIR parent de018a72a6e107ef6cc9cd8a5746913c012e1071 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 6 Jan 2017 18:12:10 +0100 fix #2101 Diffstat: M lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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: