refactor: Drop ::HasWallets()

This commit is contained in:
João Barbosa
2020-06-12 10:55:20 +01:00
parent f154071ec8
commit ccf1f6ea24
3 changed files with 1 additions and 8 deletions

View File

@@ -77,12 +77,6 @@ bool RemoveWallet(const std::shared_ptr<CWallet>& wallet)
return true;
}
bool HasWallets()
{
LOCK(cs_wallets);
return !vpwallets.empty();
}
std::vector<std::shared_ptr<CWallet>> GetWallets()
{
LOCK(cs_wallets);