git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
58ab37d
)
subscribe to imported address
author
thomasv
<thomasv@gitorious>
Sun, 15 Sep 2013 13:06:42 +0000 (15:06 +0200)
committer
thomasv
<thomasv@gitorious>
Sun, 15 Sep 2013 13:06:42 +0000 (15:06 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
b30d519
..
d768a20
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-242,6
+242,8
@@
class Wallet:
# store the originally requested keypair into the imported keys table
self.imported_keys[address] = pw_encode(sec, password )
self.storage.put('imported_keys', self.imported_keys, True)
+ if self.synchronizer:
+ self.synchronizer.subscribe_to_addresses([address])
return address
def delete_imported_key(self, addr):