Commit 4c255a29 authored by clabby's avatar clabby

Specify `derive.BatchData` key for linter

parent 8c9c5f40
...@@ -213,7 +213,7 @@ func blockToBatch(block *types.Block) (*derive.BatchData, error) { ...@@ -213,7 +213,7 @@ func blockToBatch(block *types.Block) (*derive.BatchData, error) {
} }
return &derive.BatchData{ return &derive.BatchData{
derive.BatchV1{ BatchV1: derive.BatchV1{
ParentHash: block.ParentHash(), ParentHash: block.ParentHash(),
EpochNum: rollup.Epoch(l1Info.Number), EpochNum: rollup.Epoch(l1Info.Number),
EpochHash: l1Info.BlockHash, EpochHash: l1Info.BlockHash,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment