Skip to content

Commit

Permalink
docs: fix NextTxData comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Feb 13, 2025
1 parent f3f784a commit ec7709a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-batcher/batcher/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ func (c *channel) ID() derive.ChannelID {
}

// NextTxData dequeues the next frames from the channel and returns them encoded in a tx data packet.
// If cfg.UseBlobs is false, it returns txData with a single frame.
// If cfg.UseBlobs is true, it will read frames from its channel builder
// If cfg.DaType == DaTypeCalldata, it returns txData with a single frame.
// Else when cfg.DaType == DaTypeBlob or DaTypeAltDA, it will read frames from its channel builder
// until it either doesn't have more frames or the target number of frames is reached.
//
// NextTxData should only be called after HasTxData returned true.
Expand Down

0 comments on commit ec7709a

Please sign in to comment.