commit c14a704082d00f378c93b05cc5467be9e88991d2
parent 24221f8fcab22c88552d6bf480687ad758d5cd68
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 25 May 2020 17:34:52 +0200
wallet: fix minor locking thing in set_reserved_state_of_address
follow-up 6040e953a32803a65a10f62d4f7ac815d1a9e590
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/wallet.py b/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')