0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

bench: use unsafesqlitesync in wallet loading benchmark

This commit is contained in:
Andrew Chow 2022-04-20 12:58:29 -04:00
parent 9e404a9831
commit 817c051364

View file

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