Search in sources :

Example 1 with WhirlpoolDialog

use of com.sparrowwallet.sparrow.whirlpool.WhirlpoolDialog in project sparrow by sparrowwallet.

the class UtxosController method mixSelected.

public void mixSelected(ActionEvent event) {
    List<UtxoEntry> selectedEntries = getSelectedUtxos();
    WhirlpoolDialog whirlpoolDialog = new WhirlpoolDialog(getWalletForm().getMasterWalletId(), getWalletForm().getWallet(), selectedEntries);
    Optional<Tx0Preview> optTx0Preview = whirlpoolDialog.showAndWait();
    optTx0Preview.ifPresent(tx0Preview -> previewPremix(tx0Preview, selectedEntries));
}
Also used : WhirlpoolDialog(com.sparrowwallet.sparrow.whirlpool.WhirlpoolDialog) Tx0Preview(com.samourai.whirlpool.client.tx0.Tx0Preview)

Aggregations

Tx0Preview (com.samourai.whirlpool.client.tx0.Tx0Preview)1 WhirlpoolDialog (com.sparrowwallet.sparrow.whirlpool.WhirlpoolDialog)1