mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
subscribe to imported address
This commit is contained in:
parent
58ab37d056
commit
75f7050edc
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue