Disable autostart in regtest mode

This commit is contained in:
Evan Duffield 2015-07-03 09:52:27 -07:00
parent 4420d563cb
commit 151cb174f2

View File

@ -1484,7 +1484,7 @@ bool AppInit2(boost::thread_group& threadGroup)
return InitError(_("You must specify a masternodeprivkey in the configuration. Please see documentation for help."));
}
activeMasternode.ManageStatus();
if(Params().NetworkID() != CBaseChainParams::REGTEST) activeMasternode.ManageStatus();
}
if(GetBoolArg("-mnconflock", true)) {