Skip to content

Commit c6223b3

Browse files
committed
Merge #11362: Remove nBlockMaxSize from miner opt struct as it is no longer used.
22fd04b Remove nBlockMaxSize from miner opt struct as it is no longer used. (Gregory Maxwell) Pull request description: Tree-SHA512: f7a0fa380b4173120f33f96de90581cb57b8bd7af50996f0c726845acff7b92bb1212b924495ef89645624239d2b60d19c1cee2a13139b00e917154a33f7da4c
2 parents 8776787 + 22fd04b commit c6223b3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/miner.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ class BlockAssembler
158158
struct Options {
159159
Options();
160160
size_t nBlockMaxWeight;
161-
size_t nBlockMaxSize;
162161
CFeeRate blockMinFeeRate;
163162
};
164163

src/test/miner_tests.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ static BlockAssembler AssemblerForTest(const CChainParams& params) {
3232
BlockAssembler::Options options;
3333

3434
options.nBlockMaxWeight = MAX_BLOCK_WEIGHT;
35-
options.nBlockMaxSize = MAX_BLOCK_SERIALIZED_SIZE;
3635
options.blockMinFeeRate = blockMinFeeRate;
3736
return BlockAssembler(params, options);
3837
}

0 commit comments

Comments
 (0)