Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
infiloop2 committed Sep 25, 2023
1 parent 972aa14 commit 0a87681
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ func (r *EvmRegistry) checkUpkeeps(ctx context.Context, payloads []ocr2keepers.U
for i, req := range checkReqs {
index := indices[i]
if req.Error != nil {
latestBlock := r.bs.latestBlock.Load()
latestBlockNumber := int64(0)
latestBlock := r.bs.latestBlock.Load()
if latestBlock != nil {
latestBlockNumber = int64(latestBlock.Number)
}
Expand Down

0 comments on commit 0a87681

Please sign in to comment.