Skip to content

Commit

Permalink
Update src/miner.cpp
Browse files Browse the repository at this point in the history
Co-Authored-By: PastaPastaPasta <pasta@dashboost.org>
  • Loading branch information
UdjinM6 and PastaPastaPasta committed Jan 23, 2019
1 parent 5147699 commit 444f671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 444f671

Please sign in to comment.