mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 11:13:23 -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) {
|
if (!blockman_result) {
|
||||||
return InitError(util::ErrorString(blockman_result));
|
return InitError(util::ErrorString(blockman_result));
|
||||||
}
|
}
|
||||||
CTxMemPool::Options mempool_opts{
|
CTxMemPool::Options mempool_opts{};
|
||||||
.check_ratio = chainparams.DefaultConsistencyChecks() ? 1 : 0,
|
|
||||||
};
|
|
||||||
auto mempool_result{ApplyArgsManOptions(args, chainparams, mempool_opts)};
|
auto mempool_result{ApplyArgsManOptions(args, chainparams, mempool_opts)};
|
||||||
if (!mempool_result) {
|
if (!mempool_result) {
|
||||||
return InitError(util::ErrorString(mempool_result));
|
return InitError(util::ErrorString(mempool_result));
|
||||||
|
|
Loading…
Add table
Reference in a new issue