v0.2.5-pre.007-fix.001

This commit is contained in:
2026-08-19 18:12:31 +02:00
parent 46afe10423
commit 518cc9257f
3 changed files with 101 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-wallet-lib/src/persistence.rs
// version: 2
// version: 3
//! Async-first native Wallet V1 filesystem persistence.
@@ -156,6 +156,7 @@ fn replace_wallet_file_checked_blocking(
return replace_wallet_file_with_hook(destination, content, || return verify_expected_wallet_state(destination, expected_current));
}
#[cfg(test)]
fn replace_wallet_file_blocking(destination: &std::path::Path, content: &[u8]) -> ksp_core_lib::Result<()> {
return replace_wallet_file_with_hook(destination, content, || return std::result::Result::Ok(()));
}