From 8fe2680f4e837341d35d2b9521dec4bce7a51e74 Mon Sep 17 00:00:00 2001 From: philsippl Date: Tue, 14 Jan 2025 09:38:20 +0000 Subject: [PATCH] log hash --- iris-mpc-gpu/src/server/actor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iris-mpc-gpu/src/server/actor.rs b/iris-mpc-gpu/src/server/actor.rs index 048fecedd..8580f608e 100644 --- a/iris-mpc-gpu/src/server/actor.rs +++ b/iris-mpc-gpu/src/server/actor.rs @@ -656,7 +656,7 @@ impl ServerActor { // Compute hash of the request ids concatenated let batch_hash = sha256_bytes(&batch.request_ids.join("")); - tracing::info!("Current batch hash: 0x{}", hex::encode(batch_hash)); + tracing::info!("Current batch hash: {}", hex::encode(&batch_hash[0..4])); let valid_entries = self.sync_batch_entries(&batch.valid_entries, self.max_batch_size, &batch_hash)?;