Skip to content

Commit 75e33c1

Browse files
committed
fix: the index
1 parent 073b502 commit 75e33c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/l2/block_inspector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ func (bi *BlockInspector) processBlock(ctx context.Context, blockNumber uint64)
756756
dropped := 0
757757
for _, flashblocks := range payloads {
758758
dropped += len(flashblocks)
759-
for idx := len(flashblocks); idx >= 0; idx-- {
759+
for idx := len(flashblocks) - 1; idx >= 0; idx-- {
760760
fb := flashblocks[idx]
761761
if fb != nil {
762762
l.Warn("Flashblock was dropped",

0 commit comments

Comments
 (0)