tfix #745 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 20060a117782f1eae30ed5b9d47ee9942e0f46b3 DIR parent 42742d98ba7853d4bdc9ac2275d68433c2383ce8 HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 30 Jun 2014 17:59:36 +0200 fix #745 Diffstat: M lib/wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1146,7 +1146,8 @@ class Deterministic_Wallet(Abstract_Wallet): account = self.default_account() address = account.create_new_address(for_change) self.history[address] = [] - self.synchronizer.add(address) + if self.synchronizer: + self.synchronizer.add(address) self.save_accounts() return address