Skip to content

Commit 60e63fd

Browse files
committed
tmp
1 parent 89999b6 commit 60e63fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

electrum/wallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2262,8 +2262,8 @@ def set_frozen_state_of_coins(
22622262
# basic sanity check that input is not garbage: (see if raises)
22632263
[TxOutpoint.from_str(utxo) for utxo in utxos]
22642264
assert freeze in (None, False, True), f"{freeze=!r}"
2265+
wallet_utxos = self.get_utxos() if bool(freeze) else []
22652266
with self._freeze_lock:
2266-
wallet_utxos = self.get_utxos() if bool(freeze) else []
22672267
for utxo in utxos:
22682268
if freeze is None:
22692269
self._frozen_coins.pop(utxo, None)

0 commit comments

Comments
 (0)