fix, take 2

No need to set the setting I just removed...
This commit is contained in:
Thomas Zarebczan 2019-02-11 19:32:16 -05:00
parent 7546f30f96
commit 50131c6f58

View file

@ -92,8 +92,6 @@ class SettingsPage extends React.PureComponent<Props, State> {
}
onKeyFeeDisableChange(isDisabled: boolean) {
this.props.setClientSetting(SETTINGS.DISABLE_MAX_KEY_FEE, isDisabled);
// null is default value passed to clear key fee
if (isDisabled) this.setDaemonSetting('max_key_fee');
}