init: Remove unneeded argument for mempool_opts checks

This commit is contained in:
stickies-v 2024-10-07 11:02:46 +02:00 committed by TheCharlatan
parent 5fe6878b5f
commit baea842ff1
No known key found for this signature in database
GPG key ID: 9B79B45691DB4173

View file

@ -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));