Skip to content

Commit

Permalink
Update stronghold to 0.6.4 (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass authored Jun 30, 2022
1 parent 2a63332 commit f0ad856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion identity_account_storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 2 additions & 0 deletions identity_account_storage/src/storage/stronghold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
})
}
Expand All @@ -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())
})
}
Expand Down

0 comments on commit f0ad856

Please sign in to comment.