Skip to content

Commit

Permalink
Merge pull request #1342 from cffls/v1.5.0-candidate
Browse files Browse the repository at this point in the history
Fix panic in eth_getLogs
  • Loading branch information
cffls authored Oct 4, 2024
2 parents b35b0e0 + 827811a commit e29aea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/filters/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func (api *FilterAPI) GetLogs(ctx context.Context, crit FilterCriteria) ([]*type
return nil, errExceedMaxTopics
}

borConfig := api.chainConfig.Bor
borConfig := api.sys.backend.ChainConfig().Bor

var filter *Filter

Expand Down Expand Up @@ -435,7 +435,7 @@ func (api *FilterAPI) GetFilterLogs(ctx context.Context, id rpc.ID) ([]*types.Lo
return nil, errFilterNotFound
}

borConfig := api.chainConfig.Bor
borConfig := api.sys.backend.ChainConfig().Bor

var filter *Filter

Expand Down

0 comments on commit e29aea8

Please sign in to comment.