We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9dc955 commit ab515a6Copy full SHA for ab515a6
1 file changed
coprocessor/fhevm-engine/tfhe-worker/src/tfhe_worker.rs
@@ -263,11 +263,8 @@ async fn query_ciphertexts<'a>(
263
// index ciphertexts in hashmap
264
let mut ciphertext_map: HashMap<Vec<u8>, (i16, Vec<u8>)> =
265
HashMap::with_capacity(ciphertexts_rows.len());
266
- for row in &ciphertexts_rows {
267
- let _ = ciphertext_map.insert(
268
- row.handle.clone(),
269
- (row.ciphertext_type, row.ciphertext.clone()),
270
- );
+ for row in ciphertexts_rows {
+ let _ = ciphertext_map.insert(row.handle, (row.ciphertext_type, row.ciphertext));
271
}
272
Ok(ciphertext_map)
273
0 commit comments