Skip to content

Commit

Permalink
Fix: import errors for KeystoreError in mediator-coordination module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tekum-Emmanuella committed Sep 26, 2024
1 parent 6fd582b commit e169c08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/plugins/mediator-coordination/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ use did_utils::{
didcore::{AssertionMethod, Document, KeyAgreement, KeyFormat, VerificationMethod},
jwk::Jwk,
};
use keystore::{filesystem::FileSystem, KeyStore, KeyStoreError};
use keystore::{filesystem::FileSystem, KeyStore};
use keystore::errors::KeystoreError;
use serde_json::Error as SerdeError;
use std::io;

Expand Down Expand Up @@ -43,7 +44,7 @@ pub fn read_diddoc(fs: &dyn FileSystem, storage_dirpath: &str) -> Result<Documen
pub fn read_keystore<'a>(
fs: &'a mut dyn FileSystem,
storage_dirpath: &str,
) -> Result<KeyStore<'a>, KeyStoreError> {
) -> Result<KeyStore<'a>, KeystoreError> {
KeyStore::latest(fs, storage_dirpath)
}

Expand Down

0 comments on commit e169c08

Please sign in to comment.