mainParams.consensus.

This commit is contained in:
jl777
2019-02-09 03:56:03 -11:00
parent d103970fed
commit eae8207fe8

View File

@@ -278,8 +278,8 @@ void *chainparams_commandline(void *ptr)
{
if ( ASSETCHAINS_BLOCKTIME != 60 )
{
mainParams.nMaxFutureBlockTime = 7 * ASSETCHAINS_BLOCKTIME; // 7 blocks
mainParams.nPowTargetSpacing = ASSETCHAINS_BLOCKTIME;
mainParams.consensus.nMaxFutureBlockTime = 7 * ASSETCHAINS_BLOCKTIME; // 7 blocks
mainParams.consensus.nPowTargetSpacing = ASSETCHAINS_BLOCKTIME;
}
mainParams.SetDefaultPort(ASSETCHAINS_P2PPORT);
if ( ASSETCHAINS_RPCPORT == 0 )