Browse Source

mixing utxos should reflect in send selected total on utxos tab

terminal
Craig Raw 3 years ago
parent
commit
cc31b5b78e
  1. 2
      README.md
  2. 2
      src/main/java/com/sparrowwallet/sparrow/wallet/UtxosController.java

2
README.md

@ -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.
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)

2
src/main/java/com/sparrowwallet/sparrow/wallet/UtxosController.java

@ -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());
}

Loading…
Cancel
Save