Skip to content

Commit 042da4b

Browse files
committed
fix build
1 parent 1a7d56c commit 042da4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

op-service/sources/l2_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (s *L2Client) L2BlockRefByNumber(ctx context.Context, num uint64) (eth.L2Bl
124124
// w%: wrap to preserve ethereum.NotFound case
125125
return eth.L2BlockRef{}, fmt.Errorf("failed to determine L2BlockRef of height %v, could not get payload: %w", num, err)
126126
}
127-
ref, err := derive.PayloadToSystemConfig(s.rollupCfg, envelope.ExecutionPayload)
127+
ref, err := derive.PayloadToBlockRef(s.rollupCfg, envelope.ExecutionPayload)
128128
if err != nil {
129129
return eth.L2BlockRef{}, err
130130
}

0 commit comments

Comments
 (0)