aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.cpp
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2022-12-12 15:43:00 -0500
committerAndrew Chow <github@achow101.com>2023-05-03 10:45:10 -0400
commit14aa4cb1e44f089a6022a2b14a98bca4a7dd9a01 (patch)
tree8797a6e8f5f1ff356f7831781ed38f991b5ba674 /src/wallet/walletdb.cpp
parentf67a385556c60b2e4788a378196a395fca0539f5 (diff)
downloadbitcoin-14aa4cb1e44f089a6022a2b14a98bca4a7dd9a01.tar.xz
wallet: Move DummyDatabase to salvage
It's only used by salvage, so make it local to that only.
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r--src/wallet/walletdb.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index 005592d720..072357022e 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -1263,12 +1263,6 @@ std::unique_ptr<WalletDatabase> MakeDatabase(const fs::path& path, const Databas
return nullptr;
}
-/** Return object for accessing dummy database with no read/write capabilities. */
-std::unique_ptr<WalletDatabase> CreateDummyWalletDatabase()
-{
- return std::make_unique<DummyDatabase>();
-}
-
/** Return object for accessing temporary in-memory database. */
std::unique_ptr<WalletDatabase> CreateMockWalletDatabase(DatabaseOptions& options)
{