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

View file

@ -2,7 +2,7 @@
Sparrow is a modern desktop Bitcoin wallet application supporting most hardware wallets and built on common standards such as PSBT, with an emphasis on transparency and usability. Sparrow is a modern desktop Bitcoin wallet application supporting most hardware wallets and built on common standards such as PSBT, with an emphasis on transparency and usability.
More information (and release binaries) can be found at https://sparrowwallet.com. Release binaries are also available directly from [Github](https://github.com/sparrowwallet/sparrow/releases). More information (and release binaries) can be found at https://sparrowwallet.com. Release binaries are also available directly from [GitHub](https://github.com/sparrowwallet/sparrow/releases).
![Sparrow Wallet](https://sparrowwallet.com/assets/images/control-your-sends.png) ![Sparrow Wallet](https://sparrowwallet.com/assets/images/control-your-sends.png)

View file

@ -245,7 +245,7 @@ public class UtxosController extends WalletFormController implements Initializab
return utxosTable.getSelectionModel().getSelectedCells().stream() return utxosTable.getSelectionModel().getSelectedCells().stream()
.filter(tp -> tp.getTreeItem() != null) .filter(tp -> tp.getTreeItem() != null)
.map(tp -> (UtxoEntry)tp.getTreeItem().getValue()) .map(tp -> (UtxoEntry)tp.getTreeItem().getValue())
.filter(utxoEntry -> utxoEntry.isSpendable() && !utxoEntry.isMixing()) .filter(HashIndexEntry::isSpendable)
.collect(Collectors.toList()); .collect(Collectors.toList());
} }