wallet: Add HasWallets

This commit is contained in:
João Barbosa
2018-04-18 13:46:11 +01:00
parent 373aee26c3
commit 3c058fdcc8
4 changed files with 8 additions and 2 deletions
+5
View File
@@ -54,6 +54,11 @@ bool RemoveWallet(CWallet* wallet)
return true;
}
bool HasWallets()
{
return !vpwallets.empty();
}
std::vector<CWallet*> GetWallets()
{
return vpwallets;