index: Remove TxIndexDB from public interface of TxIndex.
This commit is contained in:
+1
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user