diff options
| author | Geoffrey Tsui <[email protected]> | 2016-10-25 22:35:26 +0800 |
|---|---|---|
| committer | Geoffrey Tsui <[email protected]> | 2016-10-25 22:35:26 +0800 |
| commit | d0b01f3a859eacc51a28fc18d2ed7e361ec90833 (patch) | |
| tree | 52f988b2d7f53d2624a40ba76839bfe031635908 /src/main.h | |
| parent | Merge #8515: A few mempool removal optimizations (diff) | |
| download | discoin-d0b01f3a859eacc51a28fc18d2ed7e361ec90833.tar.xz discoin-d0b01f3a859eacc51a28fc18d2ed7e361ec90833.zip | |
Explicitly pass const CChainParams& to LoadBlockIndexDB()
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 3eab9b89d..6bd6479dc 100644 --- a/src/main.h +++ b/src/main.h @@ -237,7 +237,7 @@ bool LoadExternalBlockFile(const CChainParams& chainparams, FILE* fileIn, CDiskB /** Initialize a new block tree database + block data on disk */ bool InitBlockIndex(const CChainParams& chainparams); /** Load the block tree and coins database from disk */ -bool LoadBlockIndex(); +bool LoadBlockIndex(const CChainParams& chainparams); /** Unload database information */ void UnloadBlockIndex(); /** Run an instance of the script checking thread */ |