diff options
author | Kiminuo <kiminuo@protonmail.com> | 2021-12-02 21:21:05 +0100 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2022-03-16 08:26:28 +0100 |
commit | 39b1763730177cd7d6a32fd9321da640b0d65e0e (patch) | |
tree | ce8d7c83579101fb27062410ed27283ee76558b9 /src/wallet/walletdb.cpp | |
parent | a7e80449c0811b361cdaea39b6bab78ca5fbf668 (diff) |
Replace use of `ArgsManager` with `DatabaseOptions`
Co-authored-by: Russell Yanofsky <russ@yanofsky.org>
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r-- | src/wallet/walletdb.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index c11d4b562d..32dd38cc4d 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -1189,10 +1189,11 @@ std::unique_ptr<WalletDatabase> CreateDummyWalletDatabase() /** Return object for accessing temporary in-memory database. */ std::unique_ptr<WalletDatabase> CreateMockWalletDatabase() { + DatabaseOptions options; #ifdef USE_SQLITE - return std::make_unique<SQLiteDatabase>("", "", true); + return std::make_unique<SQLiteDatabase>("", "", options, true); #elif USE_BDB - return std::make_unique<BerkeleyDatabase>(std::make_shared<BerkeleyEnvironment>(), ""); + return std::make_unique<BerkeleyDatabase>(std::make_shared<BerkeleyEnvironment>(), "", options); #endif } } // namespace wallet |