add additional test for checking if whirlpool mix wallet

This commit is contained in:
Craig Raw 2023-09-29 14:25:28 +02:00
parent 2b7b650fae
commit 73eed3e292

View file

@ -361,7 +361,7 @@ public class Wallet extends Persistable implements Comparable<Wallet> {
}
public boolean isWhirlpoolMixWallet() {
return !isMasterWallet() && StandardAccount.WHIRLPOOL_MIX_ACCOUNTS.contains(getStandardAccountType());
return !isMasterWallet() && getMasterWallet().isWhirlpoolMasterWallet() && StandardAccount.WHIRLPOOL_MIX_ACCOUNTS.contains(getStandardAccountType());
}
public void setName(String name) {