wallet: fix minor locking thing in set_reserved_state_of_address

follow-up 6040e953a3
This commit is contained in:
SomberNight 2020-05-25 17:34:52 +02:00
parent 24221f8fca
commit c14a704082
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -1212,7 +1212,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
self._reserved_addresses.add(addr)
else:
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):
return not self.is_watching_only() and hasattr(self.keystore, 'get_private_key')