v0.2.5-pre.005-fix.001

This commit is contained in:
2026-08-19 13:15:09 +02:00
parent 36b98e0abc
commit dcd23abb92
4 changed files with 126 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-wallet-lib/src/wire.rs
// version: 4
// version: 5
//! Strict native `.kspwallet` V1 wire envelope.
@@ -273,7 +273,7 @@ impl WalletViewDescriptorV1 {
return Self { enabled: false, slot_id: std::option::Option::None };
}
pub(crate) const fn enabled(slot_id: [u8; crate::KSPWALLET_V1_SLOT_ID_BYTES]) -> Self {
pub(crate) const fn enabled_for_slot(slot_id: [u8; crate::KSPWALLET_V1_SLOT_ID_BYTES]) -> Self {
return Self { enabled: true, slot_id: std::option::Option::Some(slot_id) };
}