Browse Source

wallet: fix minor locking thing in set_reserved_state_of_address

follow-up 6040e953a3
master
SomberNight 5 years ago
parent
commit
c14a704082
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/wallet.py

2
electrum/wallet.py

@ -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')

Loading…
Cancel
Save