v0.2.6-pre.016
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// file: crates/ksp-wallet-lib/src/payload.rs
|
||||
// version: 5
|
||||
// version: 6
|
||||
|
||||
//! Plaintext payload codecs protected inside native `.kspwallet` V1 compartments.
|
||||
//! Plaintext payload codecs shared by the initial native `.kspwallet` V1/V2 protected compartments.
|
||||
|
||||
use base64::Engine; // rust-rules: trait-import
|
||||
use std::str::FromStr; // rust-rules: trait-import
|
||||
@@ -119,8 +119,8 @@ impl crate::MetadataPayloadV1 {
|
||||
}
|
||||
|
||||
/// Consumes this value and returns info.
|
||||
pub(crate) fn into_info(self, capability: crate::WalletCapability) -> crate::WalletInfo {
|
||||
return crate::WalletInfo::new(capability, self.pubkey, self.alias, self.notes);
|
||||
pub(crate) fn into_info(self, format_version: u32, capability: crate::WalletCapability) -> crate::WalletInfo {
|
||||
return crate::WalletInfo::new(format_version, capability, self.pubkey, self.alias, self.notes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user