Browse Source

subscribe to imported address

283
thomasv 11 years ago
parent
commit
75f7050edc
  1. 2
      lib/wallet.py

2
lib/wallet.py

@ -242,6 +242,8 @@ class Wallet:
# store the originally requested keypair into the imported keys table # store the originally requested keypair into the imported keys table
self.imported_keys[address] = pw_encode(sec, password ) self.imported_keys[address] = pw_encode(sec, password )
self.storage.put('imported_keys', self.imported_keys, True) self.storage.put('imported_keys', self.imported_keys, True)
if self.synchronizer:
self.synchronizer.subscribe_to_addresses([address])
return address return address
def delete_imported_key(self, addr): def delete_imported_key(self, addr):

Loading…
Cancel
Save