mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
init: Remove unneeded argument for mempool_opts checks
This commit is contained in:
parent
5fe6878b5f
commit
baea842ff1
1 changed files with 1 additions and 3 deletions
|
@ -1070,9 +1070,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
|
|||
if (!blockman_result) {
|
||||
return InitError(util::ErrorString(blockman_result));
|
||||
}
|
||||
CTxMemPool::Options mempool_opts{
|
||||
.check_ratio = chainparams.DefaultConsistencyChecks() ? 1 : 0,
|
||||
};
|
||||
CTxMemPool::Options mempool_opts{};
|
||||
auto mempool_result{ApplyArgsManOptions(args, chainparams, mempool_opts)};
|
||||
if (!mempool_result) {
|
||||
return InitError(util::ErrorString(mempool_result));
|
||||
|
|
Loading…
Reference in a new issue