validation: Pass in chainman to UnloadBlockIndex

This commit is contained in:
Carl Dong
2020-08-25 15:23:57 -04:00
parent 4668ded6d6
commit 74f73c783d
5 changed files with 10 additions and 7 deletions

View File

@ -159,7 +159,7 @@ void LoadExternalBlockFile(const CChainParams& chainparams, FILE* fileIn, FlatFi
/** Ensures we have a genesis block in the block tree, possibly writing one to disk. */
bool LoadGenesisBlock(const CChainParams& chainparams);
/** Unload database information */
void UnloadBlockIndex(CTxMemPool* mempool);
void UnloadBlockIndex(CTxMemPool* mempool, ChainstateManager& chainman);
/** Run an instance of the script checking thread */
void ThreadScriptCheck(int worker_num);
/**