aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJim Posen <jim.posen@gmail.com>2018-05-15 17:26:49 -0700
committerJim Posen <jim.posen@gmail.com>2018-06-04 19:22:28 -0700
commit89eddcd365e9a2218648f5cc5b9f22b28023f50a (patch)
tree6aeaaec4323b1a6c846fc79e539bba4579f4d203 /src/init.cpp
parent2318affd27de436ddf9d866a4b82eed8ea2e738b (diff)
downloadbitcoin-89eddcd365e9a2218648f5cc5b9f22b28023f50a.tar.xz
index: Remove TxIndexDB from public interface of TxIndex.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index b4e2eec0d2..9246f6e71c 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1606,8 +1606,7 @@ bool AppInitMain()
// ********************************************************* Step 8: start indexers
if (gArgs.GetBoolArg("-txindex", DEFAULT_TXINDEX)) {
- auto txindex_db = MakeUnique<TxIndexDB>(nTxIndexCache, false, fReindex);
- g_txindex = MakeUnique<TxIndex>(std::move(txindex_db));
+ g_txindex = MakeUnique<TxIndex>(nTxIndexCache, false, fReindex);
g_txindex->Start();
}