Skip to content

Commit 1f06ecd

Browse files
add gargs
Signed-off-by: Pasta <pasta@dashboost.org>
1 parent 9f71ab0 commit 1f06ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4179,7 +4179,7 @@ bool LoadBlockIndex(const CChainParams& chainparams)
41794179

41804180
LogPrintf("Initializing databases...\n");
41814181
// Use the provided setting for -txindex in the new database
4182-
fTxIndex = GetBoolArg("-txindex", DEFAULT_TXINDEX);
4182+
fTxIndex = gArgs.GetBoolArg("-txindex", DEFAULT_TXINDEX);
41834183
pblocktree->WriteFlag("txindex", fTxIndex);
41844184
}
41854185
return true;

0 commit comments

Comments
 (0)