v0.2.5-pre.010.fix.001
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
// file: crates/ksp-wallet-lib/src/transfer.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Explicit OWNER-only Solana keypair import/export adapters.
|
||||
|
||||
use std::io::Read; // rust-rules: derive-import
|
||||
use std::io::Write; // rust-rules: derive-import
|
||||
use std::io::Read; // rust-rules: trait-import
|
||||
use std::io::Write; // rust-rules: trait-import
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::fs::PermissionsExt; // rust-rules: derive-import
|
||||
use zeroize::Zeroize; // rust-rules: derive-import
|
||||
use std::os::unix::fs::PermissionsExt; // rust-rules: trait-import
|
||||
use zeroize::Zeroize; // rust-rules: trait-import
|
||||
|
||||
/// Explicit secret-transfer formats supported by Wallet `0.2.5`.
|
||||
#[non_exhaustive]
|
||||
@@ -161,6 +161,7 @@ pub async fn import_wallet_transfer_file_v1(
|
||||
return import_wallet_transfer_v1(destination, bytes.as_slice(), format, owner_password, view_password, metadata).await;
|
||||
}
|
||||
|
||||
/// Executes the crate-internal write wallet transfer file v1 operation for the owning module.
|
||||
pub(crate) async fn write_wallet_transfer_file_v1(
|
||||
destination: std::path::PathBuf,
|
||||
content: std::vec::Vec<u8>,
|
||||
|
||||
Reference in New Issue
Block a user