diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-04-13 10:52:40 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-07 11:32:34 +0200 |
commit | fa20d734a29ba50cd19b78cb4fe39a2d826131b7 (patch) | |
tree | d326beceeeee9488e3f53de8cf8224003a877e89 /src/init.cpp | |
parent | fa8866990dba7817427977bfe834efdb17114d37 (diff) |
refactor: Add and use kernel::ImportMempoolOptions
This allows optional named arguments with default values.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 97ce3c3909..32cf76bedf 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1677,7 +1677,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) } // Load mempool from disk if (auto* pool{chainman.ActiveChainstate().GetMempool()}) { - LoadMempool(*pool, ShouldPersistMempool(args) ? MempoolPath(args) : fs::path{}, chainman.ActiveChainstate()); + LoadMempool(*pool, ShouldPersistMempool(args) ? MempoolPath(args) : fs::path{}, chainman.ActiveChainstate(), {}); pool->SetLoadTried(!chainman.m_interrupt); } }); |