mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-26 06:44:32 +00:00
Remove nBlockMaxSize from miner opt struct as it is no longer used.
This commit is contained in:
parent
4ce2f3d0d3
commit
22fd04beb9
@ -158,7 +158,6 @@ public:
|
|||||||
struct Options {
|
struct Options {
|
||||||
Options();
|
Options();
|
||||||
size_t nBlockMaxWeight;
|
size_t nBlockMaxWeight;
|
||||||
size_t nBlockMaxSize;
|
|
||||||
CFeeRate blockMinFeeRate;
|
CFeeRate blockMinFeeRate;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ static BlockAssembler AssemblerForTest(const CChainParams& params) {
|
|||||||
BlockAssembler::Options options;
|
BlockAssembler::Options options;
|
||||||
|
|
||||||
options.nBlockMaxWeight = MAX_BLOCK_WEIGHT;
|
options.nBlockMaxWeight = MAX_BLOCK_WEIGHT;
|
||||||
options.nBlockMaxSize = MAX_BLOCK_SERIALIZED_SIZE;
|
|
||||||
options.blockMinFeeRate = blockMinFeeRate;
|
options.blockMinFeeRate = blockMinFeeRate;
|
||||||
return BlockAssembler(params, options);
|
return BlockAssembler(params, options);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user