aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index fcc4cfb1fa..8c392434fc 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -54,6 +54,11 @@ bool RemoveWallet(CWallet* wallet)
return true;
}
+bool HasWallets()
+{
+ return !vpwallets.empty();
+}
+
std::vector<CWallet*> GetWallets()
{
return vpwallets;