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 committed Nov 15, 2024
1 parent 58107d8 commit c2aa75e
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 c2aa75e

Please sign in to comment.