Skip to content

Commit

Permalink
Fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuroitaki committed Jan 13, 2025
1 parent 0a0ff98 commit f26630e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions crates/core/src/transcript/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,10 @@ impl<'a> TranscriptProofBuilder<'a> {
staged_subsets.into_iter().for_each(|commited_dir_idx| {
self.encoding_proof_idxs.insert(commited_dir_idx.clone());
});
// If no, there means either
// If no, there means either
// (1) No subset found.
// (2) There are ranges in [dir_idx] that are not covered by the staged subsets, hence
// (2) There are ranges in [dir_idx] that are not covered by
// the staged subsets, hence
// [dir_idx] cannot be revealed.
} else {
return Err(TranscriptProofBuilderError::new(
Expand Down Expand Up @@ -369,9 +370,10 @@ impl<'a> TranscriptProofBuilder<'a> {
self.hash_proof_idxs
.insert((commited_dir_idx.0, commited_dir_idx.1.clone()));
});
// If no, there means either
// If no, there means either
// (1) No subset found.
// (2) There are ranges in [dir_idx] that are not covered by the staged subsets, hence
// (2) There are ranges in [dir_idx] that are not covered by
// the staged subsets, hence
// [dir_idx] cannot be revealed.
} else {
return Err(TranscriptProofBuilderError::new(
Expand Down

0 comments on commit f26630e

Please sign in to comment.