add gargs
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
9f71ab04bd
commit
1f06ecdd5a
@ -4179,7 +4179,7 @@ bool LoadBlockIndex(const CChainParams& chainparams)
|
||||
|
||||
LogPrintf("Initializing databases...\n");
|
||||
// Use the provided setting for -txindex in the new database
|
||||
fTxIndex = GetBoolArg("-txindex", DEFAULT_TXINDEX);
|
||||
fTxIndex = gArgs.GetBoolArg("-txindex", DEFAULT_TXINDEX);
|
||||
pblocktree->WriteFlag("txindex", fTxIndex);
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user