mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
wallet: fix minor locking thing in set_reserved_state_of_address
follow-up 6040e953a3
This commit is contained in:
parent
24221f8fca
commit
c14a704082
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
|
||||||
self._reserved_addresses.add(addr)
|
self._reserved_addresses.add(addr)
|
||||||
else:
|
else:
|
||||||
self._reserved_addresses.discard(addr)
|
self._reserved_addresses.discard(addr)
|
||||||
self.db.put('reserved_addresses', list(self._reserved_addresses))
|
self.db.put('reserved_addresses', list(self._reserved_addresses))
|
||||||
|
|
||||||
def can_export(self):
|
def can_export(self):
|
||||||
return not self.is_watching_only() and hasattr(self.keystore, 'get_private_key')
|
return not self.is_watching_only() and hasattr(self.keystore, 'get_private_key')
|
||||||
|
|
Loading…
Add table
Reference in a new issue