From 3719022fe43a33879de9e93df5ccee15c3a16ef7 Mon Sep 17 00:00:00 2001 From: David Irvine Date: Fri, 15 Nov 2024 21:52:42 +0000 Subject: [PATCH] doc: add comment on sorted chunks --- src/decrypt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/decrypt.rs b/src/decrypt.rs index 4391b7976..3886aadef 100644 --- a/src/decrypt.rs +++ b/src/decrypt.rs @@ -11,6 +11,7 @@ use bytes::Bytes; use std::io::Cursor; use xor_name::XorName; +// encrypted_Chunks are sorted !! pub fn decrypt(src_hashes: Vec, encrypted_chunks: &[&EncryptedChunk]) -> Result { let mut all_bytes = Vec::new();