mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Merge pull request #1342 from cffls/v1.5.0-candidate
Fix panic in eth_getLogs
This commit is contained in:
commit
e29aea8ab4
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
|
return nil, errExceedMaxTopics
|
||||||
}
|
}
|
||||||
|
|
||||||
borConfig := api.chainConfig.Bor
|
borConfig := api.sys.backend.ChainConfig().Bor
|
||||||
|
|
||||||
var filter *Filter
|
var filter *Filter
|
||||||
|
|
||||||
|
|
@ -435,7 +435,7 @@ func (api *FilterAPI) GetFilterLogs(ctx context.Context, id rpc.ID) ([]*types.Lo
|
||||||
return nil, errFilterNotFound
|
return nil, errFilterNotFound
|
||||||
}
|
}
|
||||||
|
|
||||||
borConfig := api.chainConfig.Bor
|
borConfig := api.sys.backend.ChainConfig().Bor
|
||||||
|
|
||||||
var filter *Filter
|
var filter *Filter
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue