v0.2.6-pre.017
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-wallet-lib/src/password.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
/// Owned VIEW password material.
|
||||
///
|
||||
@@ -65,6 +65,11 @@ impl OwnerPassword {
|
||||
pub(crate) fn as_bytes(&self) -> &[u8] {
|
||||
return self.value.as_bytes();
|
||||
}
|
||||
|
||||
/// Creates one short-lived crate-internal duplicate for authenticated format migration while keeping the public type non-`Clone`.
|
||||
pub(crate) fn duplicate_for_internal_use(&self) -> Self {
|
||||
return Self::new(self.value.clone());
|
||||
}
|
||||
}
|
||||
|
||||
impl std::fmt::Debug for OwnerPassword {
|
||||
|
||||
Reference in New Issue
Block a user