mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 18:13:25 +02:00
bench: use unsafesqlitesync in wallet loading benchmark
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user