Browse Source

Tests fix; ignore missing web3 keys path.

cl-refactor
Gav Wood 9 years ago
parent
commit
0d1fd85386
  1. 4
      libdevcrypto/SecretStore.cpp

4
libdevcrypto/SecretStore.cpp

@ -177,9 +177,13 @@ void SecretStore::save(string const& _keysPath)
void SecretStore::load(string const& _keysPath)
{
fs::path p(_keysPath);
try
{
for (fs::directory_iterator it(p); it != fs::directory_iterator(); ++it)
if (fs::is_regular_file(it->path()))
readKey(it->path().string(), true);
}
catch (...) {}
}
h128 SecretStore::readKey(string const& _file, bool _takeFileOwnership)

Loading…
Cancel
Save