HF: Genesis block includes fedpegscript

This commit is contained in:
Gregory Sanders 2016-12-23 09:12:47 -05:00 committed by Jorge Timón
parent 8d1b5520d7
commit db42451290
No known key found for this signature in database
GPG key ID: 8866C18EA1C944A2
2 changed files with 19 additions and 5 deletions

View file

@ -1477,7 +1477,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
// If the loaded chain has a wrong genesis, bail out immediately
// (we're likely using a testnet datadir, or the other way around).
if (!mapBlockIndex.empty() && mapBlockIndex.count(chainparams.GetConsensus().hashGenesisBlock) == 0)
return InitError(_("Incorrect or no genesis block found. Wrong datadir for network?"));
return InitError(_("Incorrect or no genesis block found. Wrong `-fedpegscript`, `-signblockscript`, or datadir for network?"));
// Initialize the block index (no-op if non-empty database was already loaded)
if (!InitBlockIndex(chainparams)) {