From 0186218644caa9c86bbdd1d5310970ff8ef0f8b6 Mon Sep 17 00:00:00 2001 From: David Kazlauskas Date: Thu, 19 Sep 2024 08:09:29 +0300 Subject: [PATCH] Revert "Swap ciphertext version, handle type bytes" This reverts commit 9bac8dfeaca32174a1e98e8da60cb3126a0d6fa2. --- fhevm-engine/coprocessor/src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhevm-engine/coprocessor/src/server.rs b/fhevm-engine/coprocessor/src/server.rs index 19a16d6f..c9e8df2d 100644 --- a/fhevm-engine/coprocessor/src/server.rs +++ b/fhevm-engine/coprocessor/src/server.rs @@ -309,8 +309,8 @@ impl coprocessor::fhevm_coprocessor_server::FhevmCoprocessor for CoprocessorServ // idx cast to u8 must succeed because we don't allow // more handles than u8 size handle[29] = ct_idx as u8; - handle[30] = ciphertext_version as u8; - handle[31] = serialized_type as u8; + handle[30] = serialized_type as u8; + handle[31] = ciphertext_version as u8; let _ = sqlx::query!( "