Skip to content

Commit

Permalink
fix: blob bytes <= max allowed (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
roynalnaruto committed Jul 19, 2024
1 parent f40b905 commit 706ba9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/src/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ impl<const N_SNARKS: usize> BatchData<N_SNARKS> {
// We only consider the data from `valid` chunks and ignore the padded chunks.
let blob_bytes = self.get_encoded_batch_data_bytes();
assert!(
blob_bytes.len() < N_BLOB_BYTES,
blob_bytes.len() <= N_BLOB_BYTES,
"too many bytes in batch data"
);

Expand Down

0 comments on commit 706ba9e

Please sign in to comment.