plug to store

This commit is contained in:
NikVolf
2017-02-16 22:10:29 +03:00
parent 43ce5bef7e
commit 513cc6261a
3 changed files with 24 additions and 3 deletions

View File

@@ -219,6 +219,10 @@ impl<T> KeyDirectory for DiskDirectory<T> where T: KeyFileManager {
fn as_vault_provider(&self) -> Option<&VaultKeyDirectoryProvider> {
Some(self)
}
fn hash(&self) -> Result<H256, Error> {
self.files_hash()
}
}
impl<T> VaultKeyDirectoryProvider for DiskDirectory<T> where T: KeyFileManager {