fTxIndex is incorrect at this point.

This commit is contained in:
Christopher Jeffrey 2014-12-10 15:17:25 -08:00
parent 022ae120f8
commit 1b9545834a
1 changed files with 8 additions and 8 deletions

View File

@ -876,14 +876,14 @@ start_node_thread(void) {
}
// Check for changed -txindex state
if (fTxIndex != GetBoolArg("-txindex", false)) {
if (set_cooked()) {
fprintf(stderr, "You need to rebuild the database using -reindex to change -txindex\n");
}
shutdown_complete = true;
_exit(1);
return;
}
// if (fTxIndex != GetBoolArg("-txindex", false)) {
// if (set_cooked()) {
// fprintf(stderr, "You need to rebuild the database using -reindex to change -txindex\n");
// }
// shutdown_complete = true;
// _exit(1);
// return;
// }
CreatePidFile(GetPidFile(), getpid());