Fix lwmapos crash
This commit is contained in:
@@ -1159,11 +1159,11 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
|
||||
// set the hash algorithm to use for this chain
|
||||
extern uint32_t ASSETCHAINS_ALGO, ASSETCHAINS_VERUSHASH;
|
||||
CVerusHash::init();
|
||||
CVerusHashV2::init();
|
||||
if (ASSETCHAINS_ALGO == ASSETCHAINS_VERUSHASH)
|
||||
{
|
||||
// initialize VerusHash
|
||||
CVerusHash::init();
|
||||
CVerusHashV2::init();
|
||||
CBlockHeader::SetVerusHash();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user