Changing -zindex on or off requires reindex
This commit is contained in:
@@ -1666,9 +1666,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "zindex=%s in block index??\n", fZindex ? "enabled" : "disabled");
|
fprintf(stderr, "zindex=%s in block index\n", fZindex ? "enabled" : "disabled");
|
||||||
// Turning on -zindex requires a reindex, turning it off doesn't
|
if (fZindex != GetBoolArg("-zindex", false)) {
|
||||||
if (fZindex && (fZindex != GetBoolArg("-zindex", false))) {
|
|
||||||
strLoadError = _("You need to rebuild the database using -reindex to change -zindex");
|
strLoadError = _("You need to rebuild the database using -reindex to change -zindex");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user