hush_init
This commit is contained in:
@@ -94,7 +94,7 @@ extern bool hush_dailysnapshot(int32_t height);
|
||||
extern int32_t HUSH_LOADINGBLOCKS;
|
||||
extern char SMART_CHAIN_SYMBOL[];
|
||||
extern int32_t HUSH_SNAPSHOT_INTERVAL;
|
||||
extern void komodo_init(int32_t height);
|
||||
extern void hush_init(int32_t height);
|
||||
|
||||
#ifdef ENABLE_WALLET
|
||||
CWallet* pwalletMain = NULL;
|
||||
@@ -1840,7 +1840,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
// (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?"));
|
||||
komodo_init(1);
|
||||
hush_init(1);
|
||||
// Initialize the block index (no-op if non-empty database was already loaded)
|
||||
if (!InitBlockIndex()) {
|
||||
strLoadError = _("Error initializing block database");
|
||||
|
||||
Reference in New Issue
Block a user