mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Fix panic in eth_getLogs
This commit is contained in:
parent
b35b0e01fd
commit
827811a8d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue