diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2020-10-30 16:41:23 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2020-12-04 11:03:28 -0400 |
commit | d70dc89e78ee6355e0bc37cc36cfc04ef7a86885 (patch) | |
tree | fa60ad271a09f30c970d56472d25307ebc948716 /src/wallet/sqlite.h | |
parent | 6a7a63644cd2fc56538d323cc0d5c1d7945247fd (diff) |
refactor: Consolidate redundant wallet database path and exists functions
No change in behavior. Just remove a little bit of code, reduce macro usage,
remove duplicative functions, and make BDB and SQLite implementations more
consistent with each other.
Diffstat (limited to 'src/wallet/sqlite.h')
-rw-r--r-- | src/wallet/sqlite.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/sqlite.h b/src/wallet/sqlite.h index 3cb11614db..442563184e 100644 --- a/src/wallet/sqlite.h +++ b/src/wallet/sqlite.h @@ -113,7 +113,6 @@ public: sqlite3* m_db{nullptr}; }; -bool ExistsSQLiteDatabase(const fs::path& path); std::unique_ptr<SQLiteDatabase> MakeSQLiteDatabase(const fs::path& path, const DatabaseOptions& options, DatabaseStatus& status, bilingual_str& error); std::string SQLiteDatabaseVersion(); |