diff --git a/identity_account_storage/Cargo.toml b/identity_account_storage/Cargo.toml index 3aae2871e9..bb07c6d839 100644 --- a/identity_account_storage/Cargo.toml +++ b/identity_account_storage/Cargo.toml @@ -20,7 +20,7 @@ identity_core = { version = "=0.6.0", path = "../identity_core", default-feature identity_did = { version = "=0.6.0", path = "../identity_did", default-features = false } identity_iota_core = { version = "=0.6.0", path = "../identity_iota_core", default-features = false } iota-crypto = { version = ">=0.7, <0.10", default-features = false, features = ["hmac", "pbkdf", "sha", "std", "aes", "aes-kw"] } -iota_stronghold = { version = "0.5.1", default-features = false, features = ["std"], optional = true } +iota_stronghold = { version = "0.6.4", default-features = false, features = ["std"], optional = true } once_cell = { version = "1.7", default-features = false, features = ["std"], optional = true } parking_lot = { version = "0.12" } rand = { version = "0.8", default-features = false, features = ["std", "std_rng"], optional = true } diff --git a/identity_account_storage/src/storage/stronghold.rs b/identity_account_storage/src/storage/stronghold.rs index fd75806c07..715c11d4f1 100644 --- a/identity_account_storage/src/storage/stronghold.rs +++ b/identity_account_storage/src/storage/stronghold.rs @@ -399,6 +399,7 @@ impl Storage for Stronghold { store .insert(CHAIN_STATE_STORE_KEY.as_bytes().to_vec(), json, None) + .map(|_| ()) .map_err(|err| StrongholdError::Store(StoreOperation::Insert, err).into()) }) } @@ -425,6 +426,7 @@ impl Storage for Stronghold { store .insert(DOCUMENT_STORE_KEY.as_bytes().to_vec(), json, None) + .map(|_| ()) .map_err(|err| StrongholdError::Store(StoreOperation::Insert, err).into()) }) }