remove warnings

This commit is contained in:
Jazz Turner-Baggs 2026-04-27 16:48:41 -07:00
parent 96044053bf
commit c7afc44f75
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
use crypto::{Ed25519SigningKey, Ed25519VerifyingKey}; use crypto::Ed25519SigningKey;
use openmls::prelude::SignatureScheme; use openmls::prelude::SignatureScheme;
use openmls_traits::signatures::Signer; use openmls_traits::signatures::Signer;
@ -9,7 +9,6 @@ use crate::types::AccountId;
pub struct LogosAccount { pub struct LogosAccount {
id: AccountId, id: AccountId,
signing_key: Ed25519SigningKey, signing_key: Ed25519SigningKey,
verifying_key: Ed25519VerifyingKey,
} }
impl LogosAccount { impl LogosAccount {
@ -18,11 +17,9 @@ impl LogosAccount {
/// TODO: (P1) Remove once implementation is ready. /// TODO: (P1) Remove once implementation is ready.
pub fn new_test(explicit_id: impl Into<String>) -> Self { pub fn new_test(explicit_id: impl Into<String>) -> Self {
let signing_key = Ed25519SigningKey::generate(); let signing_key = Ed25519SigningKey::generate();
let verifying_key = signing_key.verifying_key();
Self { Self {
id: AccountId::new(explicit_id.into()), id: AccountId::new(explicit_id.into()),
signing_key, signing_key,
verifying_key,
} }
} }

View File

@ -8,6 +8,7 @@ mod proto;
mod types; mod types;
mod utils; mod utils;
pub use account::LogosAccount;
pub use context::{Context, ConversationIdOwned, Introduction}; pub use context::{Context, ConversationIdOwned, Introduction};
pub use errors::ChatError; pub use errors::ChatError;
pub use sqlite::ChatStorage; pub use sqlite::ChatStorage;