Skip to content

Commit

Permalink
fix for block end counts (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexoscott authored Aug 7, 2024
1 parent 70544f8 commit 01158ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk/datastream/server/data_stream_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func createFullBlockStreamEntriesProto(
batchNumber uint64,
l1InfoTreeMinTimestamps map[uint64]uint64,
) (*DataStreamEntries, error) {
entries := NewDataStreamEntries(len(filteredTransactions) + 3) // block bookmark + block + block end
entries := NewDataStreamEntries(len(filteredTransactions) + 2) // block bookmark + block
blockNum := block.NumberU64()
// L2 BLOCK BOOKMARK
entries.Add(newL2BlockBookmarkEntryProto(blockNum))
Expand Down

0 comments on commit 01158ec

Please sign in to comment.