mixing utxos should reflect in send selected total on utxos tab

This commit is contained in:
Craig Raw
2022-02-11 09:47:15 +02:00
parent c056b6240e
commit cc31b5b78e
2 changed files with 2 additions and 2 deletions
@@ -245,7 +245,7 @@ public class UtxosController extends WalletFormController implements Initializab
return utxosTable.getSelectionModel().getSelectedCells().stream()
.filter(tp -> tp.getTreeItem() != null)
.map(tp -> (UtxoEntry)tp.getTreeItem().getValue())
.filter(utxoEntry -> utxoEntry.isSpendable() && !utxoEntry.isMixing())
.filter(HashIndexEntry::isSpendable)
.collect(Collectors.toList());
}