From d6c45113e4462da7c0899404f653910d0b226997 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 9 Jan 2024 12:36:09 +0100 Subject: [PATCH] trustedcoin: do not db.write() from daemon thread. fixes #8791 --- electrum/plugins/trustedcoin/trustedcoin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/electrum/plugins/trustedcoin/trustedcoin.py b/electrum/plugins/trustedcoin/trustedcoin.py index da70076dc..1d9d71319 100644 --- a/electrum/plugins/trustedcoin/trustedcoin.py +++ b/electrum/plugins/trustedcoin/trustedcoin.py @@ -393,8 +393,6 @@ class Wallet_2fa(Multisig_Wallet): self._billing_addresses[addr_type] = billing_addresses_of_this_type self.db.put('trustedcoin_billing_addresses', self._billing_addresses['legacy']) self.db.put('trustedcoin_billing_addresses_segwit', self._billing_addresses['segwit']) - # FIXME this often runs in a daemon thread, where storage.write will fail - self.db.write() def is_billing_address(self, addr: str) -> bool: return addr in self._billing_addresses_set