git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
42742d9
)
fix #745
author
ThomasV
<thomasv@gitorious>
Mon, 30 Jun 2014 15:59:36 +0000 (17:59 +0200)
committer
ThomasV
<thomasv@gitorious>
Mon, 30 Jun 2014 15:59:36 +0000 (17:59 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
8921e44
..
2a9c237
100644
(file)
--- 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