From f9dad74e13b3979322e25d9e37b56c553662f4e0 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 9 Jul 2014 18:38:59 +0200 Subject: [PATCH] don't use address_is_old in code that can be run offline (again) --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index c83a6f78c..1715139ba 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -748,7 +748,7 @@ class ElectrumWindow(QMainWindow): def new_receive_address(self): domain = self.wallet.get_account_addresses(self.current_account, include_change=False) for addr in domain: - if not self.wallet.address_is_old(addr) and addr not in self.receive_requests.keys(): + if not self.wallet.history.get(addr) and addr not in self.receive_requests.keys(): break else: if isinstance(self.wallet, Imported_Wallet):