commit 75f7050edcf26fe9773eb7e22a7ee96af8bf23a0
parent 58ab37d056c5f6d5561586d308d7fd934d8d29b7
Author: thomasv <thomasv@gitorious>
Date: Sun, 15 Sep 2013 15:06:42 +0200
subscribe to imported address
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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):