mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 01:56:44 +00:00
test for two person coinjoin
This commit is contained in:
parent
16d348a91d
commit
20ec0f95fb
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue