Skip to content

Commit 22fd04b

Browse files
committed
Remove nBlockMaxSize from miner opt struct as it is no longer used.
1 parent 4ce2f3d commit 22fd04b

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)