commit 20060a117782f1eae30ed5b9d47ee9942e0f46b3
parent 42742d98ba7853d4bdc9ac2275d68433c2383ce8
Author: ThomasV <thomasv@gitorious>
Date: Mon, 30 Jun 2014 17:59:36 +0200
fix #745
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -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