From b1c4bda4499d14989d613a447cbc958d2aba12e7 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Sat, 7 Jan 2023 20:26:22 +0100 Subject: [PATCH] fix compile error --- plugins/stronghold/Cargo.toml | 2 +- plugins/stronghold/src/stronghold.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/stronghold/Cargo.toml b/plugins/stronghold/Cargo.toml index 0bc07802..ef6b6926 100644 --- a/plugins/stronghold/Cargo.toml +++ b/plugins/stronghold/Cargo.toml @@ -15,7 +15,7 @@ serde_json.workspace = true tauri.workspace = true log.workspace = true thiserror.workspace = true -iota_stronghold = { version = "1.0" } +iota_stronghold = "1" iota-crypto = "0.15" hex = "0.4" zeroize = { version = "1", features = ["zeroize_derive"] } diff --git a/plugins/stronghold/src/stronghold.rs b/plugins/stronghold/src/stronghold.rs index a4a5c826..8e065c44 100644 --- a/plugins/stronghold/src/stronghold.rs +++ b/plugins/stronghold/src/stronghold.rs @@ -48,7 +48,8 @@ impl Stronghold { } pub fn save(&self) -> Result<()> { - self.inner.commit(&self.path, &self.keyprovider)?; + self.inner + .commit_with_keyprovider(&self.path, &self.keyprovider)?; Ok(()) }