Commit a7a51a15 authored by zeroleak's avatar zeroleak
Browse files

tx0: make mixsTarget optional #12

parent a91fe982
......@@ -74,7 +74,7 @@ public class UtxoController extends AbstractRestController {
if (!Strings.isEmpty(payload.poolId)) {
whirlpoolWallet.setPool(whirlpoolUtxo, payload.poolId);
}
if (payload.mixsTarget > 0) {
if (payload.mixsTarget != null && payload.mixsTarget > 0) {
whirlpoolWallet.setMixsTarget(whirlpoolUtxo, payload.mixsTarget);
}
......
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