From 444f671abbf0c2f530091900b1ac3ab87990db04 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 23 Jan 2019 16:15:44 -0600 Subject: [PATCH] Update src/miner.cpp Co-Authored-By: PastaPastaPasta --- src/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 872ccccedf0ff..3eaff68b61415 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -89,7 +89,7 @@ BlockAssembler::Options::Options() { BlockAssembler::BlockAssembler(const CChainParams& params, const Options& options) : chainparams(params) { blockMinFeeRate = options.blockMinFeeRate; - // Limit size to between 1K and MAX_BLOCK_SERIALIZED_SIZE-1K for sanity: + // Limit size to between 1K and MaxBlockSize()-1K for sanity: nBlockMaxSize = std::max((unsigned int)1000, std::min((unsigned int)(MaxBlockSize(fDIP0001ActiveAtTip) - 1000), (unsigned int)options.nBlockMaxSize)); }