Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
not an option here!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikVolf committed Oct 5, 2016
1 parent 6a7f217 commit 5e47456
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ethstore/src/dir/disk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ impl DiskDirectory {
.map(|entry| entry.path())
.collect::<Vec<PathBuf>>();


paths
.iter()
.map(|p| (
Expand All @@ -87,7 +86,7 @@ impl DiskDirectory {
))
.map(|(file, path)| match file {
Ok(file) => Ok((path.clone(), SafeAccount::from_file(
file, Some(path.file_name().and_then(|n| n.to_str()).expect("Keys have valid UTF8 names only.").to_owned())
file, path.file_name().and_then(|n| n.to_str()).expect("Keys have valid UTF8 names only.").to_owned()
))),
Err(err) => Err(Error::InvalidKeyFile(format!("{:?}: {}", path, err))),
})
Expand Down

0 comments on commit 5e47456

Please sign in to comment.