aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGeoffrey Tsui <tsui.geoffrey@gmail.com>2016-10-25 22:35:26 +0800
committerGeoffrey Tsui <tsui.geoffrey@gmail.com>2016-10-25 22:35:26 +0800
commitd0b01f3a859eacc51a28fc18d2ed7e361ec90833 (patch)
tree52f988b2d7f53d2624a40ba76839bfe031635908 /src/main.h
parent9bdf5269f8860b41455df1c6d82dac0d9c858e8f (diff)
downloadbitcoin-d0b01f3a859eacc51a28fc18d2ed7e361ec90833.tar.xz
Explicitly pass const CChainParams& to LoadBlockIndexDB()
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 3eab9b89da..6bd6479dcc 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 */