Skip to content

Commit

Permalink
doc: add comment on sorted chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine authored Nov 15, 2024
1 parent d03acd6 commit 3719022
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/decrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<XorName>, encrypted_chunks: &[&EncryptedChunk]) -> Result<Bytes> {
let mut all_bytes = Vec::new();

Expand Down

0 comments on commit 3719022

Please sign in to comment.