Remove nBlockMaxSize from miner opt struct as it is no longer used.

This commit is contained in:
Gregory Maxwell 2017-09-18 23:40:38 +00:00
parent 4ce2f3d0d3
commit 22fd04beb9
2 changed files with 0 additions and 2 deletions

View File

@ -158,7 +158,6 @@ public:
struct Options {
Options();
size_t nBlockMaxWeight;
size_t nBlockMaxSize;
CFeeRate blockMinFeeRate;
};

View File

@ -32,7 +32,6 @@ static BlockAssembler AssemblerForTest(const CChainParams& params) {
BlockAssembler::Options options;
options.nBlockMaxWeight = MAX_BLOCK_WEIGHT;
options.nBlockMaxSize = MAX_BLOCK_SERIALIZED_SIZE;
options.blockMinFeeRate = blockMinFeeRate;
return BlockAssembler(params, options);
}