Skip to content

Commit a213ad0

Browse files
author
colinlyguo
committed
fix bugs
1 parent 10a353c commit a213ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup/internal/controller/watcher/l2_watcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (w *L2WatcherClient) getAndStoreBlocks(ctx context.Context, from, to uint64
152152
}
153153

154154
blocks = append(blocks, &encoding.Block{
155-
Header: block.Header(),
155+
Header: header,
156156
Transactions: txsToTxsData(block.Transactions()),
157157
WithdrawRoot: common.BytesToHash(withdrawRoot),
158158
RowConsumption: block.RowConsumption,

0 commit comments

Comments
 (0)