test for two person coinjoin

This commit is contained in:
Craig Raw 2021-12-01 14:13:58 +02:00
parent 16d348a91d
commit 20ec0f95fb

View file

@ -110,6 +110,10 @@ public class WalletTransaction {
return !utxoSelectors.isEmpty() && utxoSelectors.get(0) instanceof PresetUtxoSelector; return !utxoSelectors.isEmpty() && utxoSelectors.get(0) instanceof PresetUtxoSelector;
} }
public boolean isTwoPersonCoinjoin() {
return !utxoSelectors.isEmpty() && utxoSelectors.get(0) instanceof StonewallUtxoSelector;
}
public boolean isConsolidationSend(Payment payment) { public boolean isConsolidationSend(Payment payment) {
return isWalletSend(getWallet(), payment); return isWalletSend(getWallet(), payment);
} }