diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 26908b37773..72d483e617c 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -1203,7 +1203,7 @@ std::unique_ptr CreateMockWalletDatabase(DatabaseOptions& option if (format == DatabaseFormat::SQLITE) { #ifdef USE_SQLITE - return std::make_unique("", "", options, true); + return std::make_unique(":memory:", "", options, true); #endif assert(false); }