mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
Remove unused argument to DefaultOptions(...)
This commit is contained in:
parent
05dbb0c042
commit
d1d7cfebd2
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ BlockAssembler::BlockAssembler(const CChainParams& params, const Options& option
|
|||
nBlockMaxWeight = std::max<size_t>(4000, std::min<size_t>(MAX_BLOCK_WEIGHT - 4000, options.nBlockMaxWeight));
|
||||
}
|
||||
|
||||
static BlockAssembler::Options DefaultOptions(const CChainParams& params)
|
||||
static BlockAssembler::Options DefaultOptions()
|
||||
{
|
||||
// Block resource limits
|
||||
// If -blockmaxweight is not given, limit to DEFAULT_BLOCK_MAX_WEIGHT
|
||||
|
@ -80,7 +80,7 @@ static BlockAssembler::Options DefaultOptions(const CChainParams& params)
|
|||
return options;
|
||||
}
|
||||
|
||||
BlockAssembler::BlockAssembler(const CChainParams& params) : BlockAssembler(params, DefaultOptions(params)) {}
|
||||
BlockAssembler::BlockAssembler(const CChainParams& params) : BlockAssembler(params, DefaultOptions()) {}
|
||||
|
||||
void BlockAssembler::resetBlock()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue