consensusParams

This commit is contained in:
jl777
2019-02-09 03:50:42 -11:00
parent be6279d62d
commit cec11785df

View File

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