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

View File

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