Unverified Commit 7d81314c authored by Sarath's avatar Sarath
Browse files

[Fix] Imrpoved whirlpool tag labeling

parent 3bac668b
......@@ -5,6 +5,7 @@ import android.content.Context;
import com.samourai.wallet.api.backend.beans.UnspentOutput;
import com.samourai.wallet.hd.HD_Wallet;
import com.samourai.wallet.segwit.BIP84Util;
import com.samourai.wallet.send.BlockedUTXO;
import com.samourai.wallet.send.MyTransactionOutPoint;
import com.samourai.wallet.util.LogUtil;
import com.samourai.wallet.utxos.models.UTXOCoin;
......@@ -111,7 +112,9 @@ public class WhirlpoolUtils {
// tag only premix & postmix utxos
if (WhirlpoolAccount.PREMIX.equals(whirlpoolUtxo.getAccount()) || WhirlpoolAccount.POSTMIX.equals(whirlpoolUtxo.getAccount())) {
// show whirlpool tag
tags.add(whirlpoolUtxo.getMixsDone() + " MIXED");
if(whirlpoolUtxo.getUtxo().value > BlockedUTXO.BLOCKED_UTXO_THRESHOLD){
tags.add(whirlpoolUtxo.getMixsDone() + " MIXED");
}
// show reason when not mixable
MixableStatus mixableStatus = whirlpoolUtxo.getUtxoState().getMixableStatus();
......
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