fix compile error

pull/70/head
FabianLars 3 years ago
parent 6599f188c3
commit b1c4bda449
No known key found for this signature in database
GPG Key ID: 3B12BC1DEBF61125

@ -15,7 +15,7 @@ serde_json.workspace = true
tauri.workspace = true tauri.workspace = true
log.workspace = true log.workspace = true
thiserror.workspace = true thiserror.workspace = true
iota_stronghold = { version = "1.0" } iota_stronghold = "1"
iota-crypto = "0.15" iota-crypto = "0.15"
hex = "0.4" hex = "0.4"
zeroize = { version = "1", features = ["zeroize_derive"] } zeroize = { version = "1", features = ["zeroize_derive"] }

@ -48,7 +48,8 @@ impl Stronghold {
} }
pub fn save(&self) -> Result<()> { pub fn save(&self) -> Result<()> {
self.inner.commit(&self.path, &self.keyprovider)?; self.inner
.commit_with_keyprovider(&self.path, &self.keyprovider)?;
Ok(()) Ok(())
} }

Loading…
Cancel
Save