From 20060a117782f1eae30ed5b9d47ee9942e0f46b3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 30 Jun 2014 17:59:36 +0200 Subject: [PATCH] fix #745 --- lib/wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 8921e4465..2a9c23705 100644 --- 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