File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,13 @@ BlockAssembler::BlockAssembler(Chainstate& chainstate, const CTxMemPool* mempool
74
74
nBlockMaxWeight = std::max<size_t >(4000 , std::min<size_t >(MAX_BLOCK_WEIGHT - 4000 , options.nBlockMaxWeight ));
75
75
}
76
76
77
- void ApplyArgsManOptions (const ArgsManager& gArgs , BlockAssembler::Options& options)
77
+ void ApplyArgsManOptions (const ArgsManager& args , BlockAssembler::Options& options)
78
78
{
79
79
// Block resource limits
80
80
// If -blockmaxweight is not given, limit to DEFAULT_BLOCK_MAX_WEIGHT
81
- options.nBlockMaxWeight = gArgs .GetIntArg (" -blockmaxweight" , DEFAULT_BLOCK_MAX_WEIGHT);
82
- if (gArgs .IsArgSet (" -blockmintxfee" )) {
83
- std::optional<CAmount> parsed = ParseMoney (gArgs .GetArg (" -blockmintxfee" , " " ));
81
+ options.nBlockMaxWeight = args .GetIntArg (" -blockmaxweight" , DEFAULT_BLOCK_MAX_WEIGHT);
82
+ if (args .IsArgSet (" -blockmintxfee" )) {
83
+ std::optional<CAmount> parsed = ParseMoney (args .GetArg (" -blockmintxfee" , " " ));
84
84
options.blockMinFeeRate = CFeeRate{parsed.value_or (DEFAULT_BLOCK_MIN_TX_FEE)};
85
85
} else {
86
86
options.blockMinFeeRate = CFeeRate{DEFAULT_BLOCK_MIN_TX_FEE};
You can’t perform that action at this time.
0 commit comments