aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJim Posen <jimpo@coinbase.com>2017-12-08 11:41:35 -0800
committerJim Posen <jimpo@coinbase.com>2018-04-25 11:25:13 -0700
commite0a3b80033be388b7b8ecce8bd4273867e4bb699 (patch)
treedc7721e0c7a39e0e99a42511c7832b9b7d0b4845 /src/init.cpp
parent8181db88f6e0ed96654951e18b1558cd8f78765b (diff)
[validation] Replace tx index code in validation code with TxIndex.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp
index e1eddfa0ec..eca3577f27 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1483,12 +1483,6 @@ bool AppInitMain()
return InitError(_("Incorrect or no genesis block found. Wrong datadir for network?"));
}
- // Check for changed -txindex state
- if (fTxIndex != gArgs.GetBoolArg("-txindex", DEFAULT_TXINDEX)) {
- strLoadError = _("You need to rebuild the database using -reindex to change -txindex");
- break;
- }
-
// Check for changed -prune state. What we are concerned about is a user who has pruned blocks
// in the past, but is now trying to run unpruned.
if (fHavePruned && !fPruneMode) {