diff options
author | Carl Dong <contact@carldong.me> | 2020-08-25 15:23:57 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2020-09-15 14:11:34 -0400 |
commit | 74f73c783d46b012f375d819e2cd09c792820cd5 (patch) | |
tree | 9c351abe4519267e6c57ce65b195b819e2ca3e2e /src/validation.h | |
parent | 4668ded6d6ea4299d998abbb57543f37519812e2 (diff) |
validation: Pass in chainman to UnloadBlockIndex
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index 12d1d4c91f..2d9d2cb918 100644 --- a/src/validation.h +++ b/src/validation.h @@ -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); /** |