Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
samsondav committed Jun 21, 2023
1 parent 5177c29 commit 53a7341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/services/relay/evm/mercury/data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ func (ds *datasource) Observe(ctx context.Context, repts ocrtypes.ReportTimestam
wg.Add(1)
go func() {
defer wg.Done()
val, err := ds.fetcher.FetchInitialMaxFinalizedBlockNumber(ctx)
var val *int64
val, err = ds.fetcher.FetchInitialMaxFinalizedBlockNumber(ctx)
if err != nil {
obs.MaxFinalizedBlockNumber.Err = err
return
Expand Down

0 comments on commit 53a7341

Please sign in to comment.