Skip to content

Commit a04aac4

Browse files
committed
validation: Remove extraneous LoadGenesisBlock function prototype
Leftover from last bundle.
1 parent 2067f9e commit a04aac4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/validation.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ extern const std::vector<std::string> CHECKLEVEL_DOC;
148148
FILE* OpenBlockFile(const FlatFilePos &pos, bool fReadOnly = false);
149149
/** Translation to a filesystem path */
150150
fs::path GetBlockPosFilename(const FlatFilePos &pos);
151-
/** Ensures we have a genesis block in the block tree, possibly writing one to disk. */
152-
bool LoadGenesisBlock(const CChainParams& chainparams);
153151
/** Unload database information */
154152
void UnloadBlockIndex(CTxMemPool* mempool, ChainstateManager& chainman);
155153
/** Run instances of script checking worker threads */
@@ -725,6 +723,7 @@ class CChainState
725723
/** Replay blocks that aren't fully applied to the database. */
726724
bool ReplayBlocks(const CChainParams& params);
727725
bool RewindBlockIndex(const CChainParams& params) LOCKS_EXCLUDED(cs_main);
726+
/** Ensures we have a genesis block in the block tree, possibly writing one to disk. */
728727
bool LoadGenesisBlock(const CChainParams& chainparams);
729728

730729
void PruneBlockIndexCandidates();

0 commit comments

Comments
 (0)