aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/bdb.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-05-26 20:54:05 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-10-14 11:28:18 -0400
commitac38a87225be0f1103ff9629d63980550d2f372b (patch)
treea985380a416f93c7c2f07ae101079cbb351dbbdc /src/wallet/bdb.h
parent6045f77003f167bee9a85e2d53f8fc6ff2e297d8 (diff)
downloadbitcoin-ac38a87225be0f1103ff9629d63980550d2f372b.tar.xz
Determine wallet file type based on file magic
Diffstat (limited to 'src/wallet/bdb.h')
-rw-r--r--src/wallet/bdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/bdb.h b/src/wallet/bdb.h
index 070590872b..5403e95ee4 100644
--- a/src/wallet/bdb.h
+++ b/src/wallet/bdb.h
@@ -87,7 +87,7 @@ public:
std::shared_ptr<BerkeleyEnvironment> GetWalletEnv(const fs::path& wallet_path, std::string& database_filename);
/** Check format of database file */
-bool IsBerkeleyBtree(const fs::path& path);
+bool IsBDBFile(const fs::path& path);
class BerkeleyBatch;