From 89eddcd365e9a2218648f5cc5b9f22b28023f50a Mon Sep 17 00:00:00 2001 From: Jim Posen Date: Tue, 15 May 2018 17:26:49 -0700 Subject: index: Remove TxIndexDB from public interface of TxIndex. --- src/init.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/init.cpp') 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(nTxIndexCache, false, fReindex); - g_txindex = MakeUnique(std::move(txindex_db)); + g_txindex = MakeUnique(nTxIndexCache, false, fReindex); g_txindex->Start(); } -- cgit v1.2.3