subscribe to imported address

This commit is contained in:
thomasv 2013-09-15 15:06:42 +02:00
parent 58ab37d056
commit 75f7050edc
1 changed files with 2 additions and 0 deletions

View File

@ -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):