mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
refactor: Replace ListWalletDir() function with ListDatabases()
No change to behavior. This is just cleanup after previous MOVEONLY commit to make db.h list function fit conventions of surrounding functions.
This commit is contained in:
@@ -551,7 +551,7 @@ public:
|
||||
std::vector<std::string> listWalletDir() override
|
||||
{
|
||||
std::vector<std::string> paths;
|
||||
for (auto& path : ListWalletDir()) {
|
||||
for (auto& path : ListDatabases(GetWalletDir())) {
|
||||
paths.push_back(path.string());
|
||||
}
|
||||
return paths;
|
||||
|
||||
Reference in New Issue
Block a user