reduce max number multisig keystores

This commit is contained in:
Craig Raw 2021-08-16 17:09:21 +02:00
parent b0877d94bf
commit 37c4ff4dd7

View file

@ -149,7 +149,7 @@ public class SettingsController extends WalletFormController implements Initiali
EventManager.get().post(new SettingsChangedEvent(walletForm.getWallet(), SettingsChangedEvent.Type.MUTLISIG_THRESHOLD));
});
multisigControl.highValueProperty().addListener((observable, oldValue, newValue) -> {
if(newValue.doubleValue() == multisigControl.getMax() && newValue.doubleValue() <= 49.0) {
if(newValue.doubleValue() == multisigControl.getMax() && newValue.doubleValue() <= 19.0) {
multisigControl.setMax(newValue.doubleValue() + 1.0);
}
});