Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
r-n-o committed Nov 12, 2024
1 parent 569e2ce commit 41eceda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qos_client/src/cli/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ pub(crate) fn shamir_reconstruct(
.collect::<Result<Vec<Vec<u8>>, Error>>()?;

let secret = Zeroizing::new(
qos_crypto::shamir::shares_reconstruct(&shares).unwrap(),
qos_crypto::shamir::shares_reconstruct(shares).unwrap(),
);

write_with_msg(output_path.as_ref(), &secret, "Reconstructed secret");
Expand Down

0 comments on commit 41eceda

Please sign in to comment.