diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-07-01 01:23:02 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-07-07 20:01:01 +0100 |
commit | 630c1711b47ce50805f4dd2883777a100f7e5339 (patch) | |
tree | 5ef24c1e0014e579d31b5c86cb9436c880f7764d /src/test/util | |
parent | 88ec5d40dcf5d9f95217b123b48203b2f334c0a1 (diff) | |
download | bitcoin-630c1711b47ce50805f4dd2883777a100f7e5339.tar.xz |
refactor: Drop no longer needed `util/designator.h`
Diffstat (limited to 'src/test/util')
-rw-r--r-- | src/test/util/setup_common.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 0c9e880d67..de53499088 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -36,7 +36,6 @@ #include <timedata.h> #include <txdb.h> #include <txmempool.h> -#include <util/designator.h> #include <util/strencodings.h> #include <util/string.h> #include <util/thread.h> @@ -158,10 +157,10 @@ BasicTestingSetup::~BasicTestingSetup() CTxMemPool::Options MemPoolOptionsForTest(const NodeContext& node) { CTxMemPool::Options mempool_opts{ - Desig(estimator) node.fee_estimator.get(), + .estimator = node.fee_estimator.get(), // Default to always checking mempool regardless of // chainparams.DefaultConsistencyChecks for tests - Desig(check_ratio) 1, + .check_ratio = 1, }; ApplyArgsManOptions(*node.args, mempool_opts); return mempool_opts; |