Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Jan 30, 2024
1 parent a4323fe commit 458a7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coordinator/internal/orm/l2_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func (o *L2Block) GetL2BlockHashesByChunkHash(ctx context.Context, chunkHash str

var blockHashes []common.Hash
for _, v := range l2Blocks {
var header *gethTypes.Header
if err := json.Unmarshal([]byte(v.Header), header); err != nil {
var header gethTypes.Header
if err := json.Unmarshal([]byte(v.Header), &header); err != nil {
return nil, fmt.Errorf("L2Block.GetL2BlockHashesByChunkHash error: %w, chunk hash: %v", err, chunkHash)
}
blockHashes = append(blockHashes, header.Hash())
Expand Down

0 comments on commit 458a7a4

Please sign in to comment.