aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-11-02 21:09:24 +0100
committerWladimir J. van der Laan <[email protected]>2016-11-02 21:09:27 +0100
commitc05db8348838422ec6bbfeef30faee36562af13d (patch)
treefc6898fa79622feb759c78209ea9f591f7244ae3 /src/main.h
parentMerge #9042: [rpc] ParseHash: Fail when length is not 64 (diff)
parentExplicitly pass const CChainParams& to LoadBlockIndexDB() (diff)
downloaddiscoin-c05db8348838422ec6bbfeef30faee36562af13d.tar.xz
discoin-c05db8348838422ec6bbfeef30faee36562af13d.zip
Merge #9013: Trivial: Explicitly pass const CChainParams& to LoadBlockIndexDB()
d0b01f3 Explicitly pass const CChainParams& to LoadBlockIndexDB() (Geoffrey Tsui)
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 4c6af9514..35060e34a 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 */