Skip to content

Commit

Permalink
add back comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Sep 26, 2024
1 parent 14f86f2 commit 90d9889
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eip7594/src/recovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ mod validation {

// Check that we don't have too many cells
// ie more than we initially generated from the blob
//
// Note: Since we check that there are no duplicates and that all cell_indices
// are between 0 and CELLS_PER_EXT_BLOB. This check should never fail.
// It is kept here to be compliant with the specs.
if cell_indices.len() > CELLS_PER_EXT_BLOB {
return Err(RecoveryError::TooManyCellsReceived {
num_cells_received: cell_indices.len(),
Expand Down

0 comments on commit 90d9889

Please sign in to comment.