An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(identity-wallet): address clippy warning in find_fork_point

- Use std::slice::from_ref instead of creating a vec with clone
- Fixes clippy::cloned-ref-to-slice-refs warning

+1 -1
+1 -1
apps/identity-wallet/src-tauri/src/recovery.rs
··· 78 78 79 79 // Try to verify with the device key. If verification succeeds, 80 80 // this is the last legitimate operation (the fork point). 81 - match crypto::verify_plc_operation(&op_json, &[device_key.clone()]) { 81 + match crypto::verify_plc_operation(&op_json, std::slice::from_ref(device_key)) { 82 82 Ok(verified) => return Ok((entry.clone(), verified)), 83 83 Err(_) => continue, // Not signed by device key, keep looking 84 84 }