Commit 79e910d3 authored by zeroleak's avatar zeroleak
Browse files

update for whirlpool-client

parent 82cd3c7e
......@@ -8,6 +8,7 @@ import com.samourai.whirlpool.cli.api.protocol.rest.ApiUtxoConfigureRequest;
import com.samourai.whirlpool.cli.services.CliWalletService;
import com.samourai.whirlpool.client.exception.NotifiableException;
import com.samourai.whirlpool.client.tx0.Tx0;
import com.samourai.whirlpool.client.tx0.Tx0Config;
import com.samourai.whirlpool.client.wallet.WhirlpoolWallet;
import com.samourai.whirlpool.client.wallet.beans.WhirlpoolUtxo;
import javax.validation.Valid;
......@@ -71,8 +72,10 @@ public class UtxoController extends AbstractRestController {
whirlpoolWallet.setMixsTarget(whirlpoolUtxo, payload.mixsTarget);
}
Tx0Config tx0Config = whirlpoolWallet.getTx0Config();
// tx0
Tx0 tx0 = whirlpoolWallet.tx0(whirlpoolUtxo, payload.feeTarget);
Tx0 tx0 = whirlpoolWallet.tx0(whirlpoolUtxo, tx0Config, payload.feeTarget);
return new ApiTx0Response(tx0.getTx().getHashAsString());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment