File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -192,12 +192,10 @@ void OptionsModel::Init(bool resetSettings)
192192
193193 // If GUI is setting prune, then we also must set disablegovernance and txindex
194194 if (settings.value (" bPrune" ).toBool ()) {
195- if (gArgs .SoftSetBoolArg (" -disablegovernance" , true )) {
196- LogPrintf (" %s: parameter interaction: -prune=true -> setting -disablegovernance=true\n " , __func__);
195+ if (!gArgs .SoftSetBoolArg (" -disablegovernance" , true )) {
197196 addOverriddenOption (" -disablegovernance" );
198197 }
199- if (gArgs .SoftSetBoolArg (" -txindex" , false )) {
200- LogPrintf (" %s: parameter interaction: -prune=true -> setting -txindex=false\n " , __func__);
198+ if (!gArgs .SoftSetBoolArg (" -txindex" , false )) {
201199 addOverriddenOption (" -txindex" );
202200 }
203201 }
You can’t perform that action at this time.
0 commit comments