From a1716df115863d828030b4a187ee24545ba4296c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 6 Jan 2023 13:18:27 +0100 Subject: [PATCH] follow-up 975cdca47482c043d846eb2ea1533c65d7d4b3d1 --- electrum/gui/qt/utxo_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/utxo_list.py b/electrum/gui/qt/utxo_list.py index e722eba3d..dfe897855 100644 --- a/electrum/gui/qt/utxo_list.py +++ b/electrum/gui/qt/utxo_list.py @@ -170,7 +170,7 @@ class UTXOList(MyTreeView): self.selectionModel().clearSelection() def get_spend_list(self) -> Optional[Sequence[PartialTxInput]]: - if bool(self._spend_set): + if not bool(self._spend_set): return None utxos = [self._utxo_dict[x] for x in self._spend_set] return copy.deepcopy(utxos) # copy so that side-effects don't affect utxo_dict