aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.cpp
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-06-15 16:10:08 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-06-15 17:36:08 -0400
commit25a655794a0c495332dadedd88b87d694c1077c2 (patch)
treefcab4b1e55e2d8018b125a83944579a702963094 /src/wallet/walletdb.cpp
parentf6fc5f3849bac48dfccd015bec7089cb711d0667 (diff)
downloadbitcoin-25a655794a0c495332dadedd88b87d694c1077c2.tar.xz
walletdb: move IsWalletLoaded to walletdb.cpp
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r--src/wallet/walletdb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index cb516f70f0..2f6c2b883a 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -1018,3 +1018,8 @@ bool WalletBatch::TxnAbort()
{
return m_batch.TxnAbort();
}
+
+bool IsWalletLoaded(const fs::path& wallet_path)
+{
+ return IsBDBWalletLoaded(wallet_path);
+}