From fd02935f54273e9c147c4553b877121ae7cfc650 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 8 Mar 2023 10:01:13 -0600 Subject: [PATCH] do not show marked as used utxos --- lib/pages/coin_control/coin_control_view.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pages/coin_control/coin_control_view.dart b/lib/pages/coin_control/coin_control_view.dart index 491a45ec6..8a6797e4e 100644 --- a/lib/pages/coin_control/coin_control_view.dart +++ b/lib/pages/coin_control/coin_control_view.dart @@ -77,6 +77,10 @@ class _CoinControlViewState extends ConsumerState { .getUTXOs(widget.walletId) .filter() .isBlockedEqualTo(_showBlocked) + .and() + .group( + (q) => q.usedIsNull().or().usedEqualTo(false), + ) .idProperty() .findAllSync();