Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Oct 23, 2024
1 parent b12149b commit 53d5175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/threshold-signature-server/src/node_info/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct TssPublicKeys {
pub async fn info(State(app_state): State<AppState>) -> Result<Json<TssPublicKeys>, GetInfoError> {
let (signer, x25519_secret) = get_signer_and_x25519_secret(&app_state.kv_store).await?;
let tss_account = AccountId32(signer.signer().public().0);
let x25519_public_key = x25519_dalek::PublicKey::from(&x25519_secret).as_bytes().clone();
let x25519_public_key = *x25519_dalek::PublicKey::from(&x25519_secret).as_bytes();

Ok(Json(TssPublicKeys { x25519_public_key, tss_account }))
}

0 comments on commit 53d5175

Please sign in to comment.