diff options
author | Andrew Chow <achow101-github@achow101.com> | 2022-04-20 12:58:29 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2022-04-20 13:53:34 -0400 |
commit | 817c051364208d3f9e7e2af5700bd2bee5c9f303 (patch) | |
tree | c735f086e29265b94126c7bf50f697bf7986ce81 /src/bench/wallet_loading.cpp | |
parent | 9e404a98312d73c969adf4f8e87aad1ac4b3029d (diff) | |
download | bitcoin-817c051364208d3f9e7e2af5700bd2bee5c9f303.tar.xz |
bench: use unsafesqlitesync in wallet loading benchmark
Diffstat (limited to 'src/bench/wallet_loading.cpp')
-rw-r--r-- | src/bench/wallet_loading.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bench/wallet_loading.cpp b/src/bench/wallet_loading.cpp index 8dc46c2268..80c285667e 100644 --- a/src/bench/wallet_loading.cpp +++ b/src/bench/wallet_loading.cpp @@ -49,6 +49,7 @@ static void BenchUnloadWallet(std::shared_ptr<CWallet>&& wallet) static void WalletLoading(benchmark::Bench& bench, bool legacy_wallet) { const auto test_setup = MakeNoLogFileContext<TestingSetup>(); + test_setup->m_args.ForceSetArg("-unsafesqlitesync", "1"); WalletContext context; context.args = &test_setup->m_args; |