Default txindex true

This commit is contained in:
jl777
2017-05-23 11:53:04 +03:00
parent c3803140cc
commit b2c00e5434
2 changed files with 4 additions and 4 deletions

View File

@@ -4020,7 +4020,7 @@ bool InitBlockIndex() {
return true;
// Use the provided setting for -txindex in the new database
fTxIndex = GetBoolArg("-txindex", false);
fTxIndex = GetBoolArg("-txindex", true);
pblocktree->WriteFlag("txindex", fTxIndex);
LogPrintf("Initializing databases...\n");