fTxIndex is incorrect at this point.
This commit is contained in:
parent
022ae120f8
commit
1b9545834a
@ -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());
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user