subscribe to imported address
This commit is contained in:
parent
58ab37d056
commit
75f7050edc
|
@ -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…
Reference in New Issue