This commit is contained in:
Craig Raw 2021-08-16 11:04:46 +02:00
parent 6339c3a7d7
commit 90355a653f

View file

@ -229,8 +229,8 @@ public class SettingsController extends WalletFormController implements Initiali
totalKeystores.setValue(1); totalKeystores.setValue(1);
} else if(wallet.getPolicyType().equals(PolicyType.MULTI)) { } else if(wallet.getPolicyType().equals(PolicyType.MULTI)) {
multisigControl.setMax(Math.max(multisigControl.getMax(), wallet.getKeystores().size())); multisigControl.setMax(Math.max(multisigControl.getMax(), wallet.getKeystores().size()));
multisigControl.lowValueProperty().set(wallet.getDefaultPolicy().getNumSignaturesRequired());
multisigControl.highValueProperty().set(wallet.getKeystores().size()); multisigControl.highValueProperty().set(wallet.getKeystores().size());
multisigControl.lowValueProperty().set(wallet.getDefaultPolicy().getNumSignaturesRequired());
totalKeystores.bind(multisigControl.highValueProperty()); totalKeystores.bind(multisigControl.highValueProperty());
} }