diff options
| author | Russell Yanofsky <[email protected]> | 2020-08-04 19:33:37 -0400 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2020-09-03 12:24:32 -0400 |
| commit | 3c815cfe54087fd139169161d2fd175e99840e6a (patch) | |
| tree | 9845581f644144cb90197b46f94f61bf18ccde50 /src/wallet/walletdb.cpp | |
| parent | refactor: Use DatabaseStatus and DatabaseOptions types (diff) | |
| download | discoin-3c815cfe54087fd139169161d2fd175e99840e6a.tar.xz discoin-3c815cfe54087fd139169161d2fd175e99840e6a.zip | |
wallet: Remove Verify and IsLoaded methods
Checks are now consolidated in MakeBerkeleyDatabase function instead of
happening in higher level code.
This commit does not change behavior except for error messages which now
include more complete information.
Diffstat (limited to 'src/wallet/walletdb.cpp')
| -rw-r--r-- | src/wallet/walletdb.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 23c4b6977..29ac52cb3 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -1032,11 +1032,6 @@ std::unique_ptr<WalletDatabase> MakeDatabase(const fs::path& path, const Databas return MakeBerkeleyDatabase(path, options, status, error); } -bool IsWalletLoaded(const fs::path& wallet_path) -{ - return IsBDBWalletLoaded(wallet_path); -} - /** Return object for accessing database at specified path. */ std::unique_ptr<WalletDatabase> CreateWalletDatabase(const fs::path& path) { |