Skip to content

Commit

Permalink
Update comment to remove outdated MaxFrameLen statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso authored Sep 18, 2024
1 parent 53c4b33 commit ecfa0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/rollup/derive/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (f *Frame) UnmarshalBinary(r ByteReader) error {
return fmt.Errorf("reading frame_data_length: %w", eofAsUnexpectedMissing(err))
}

// Cap frame length to MaxFrameLen (currently 1MB)
// Cap frame length to MaxFrameLen
if frameLength > MaxFrameLen {
return fmt.Errorf("frame_data_length is too large: %d", frameLength)
}
Expand Down

0 comments on commit ecfa0ee

Please sign in to comment.