mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
fix : lint
This commit is contained in:
parent
1cee4dddb7
commit
9eb44ad01f
2 changed files with 2 additions and 0 deletions
|
|
@ -2178,6 +2178,7 @@ func RegisterFilterAPI(stack *node.Node, backend ethapi.Backend, ethcfg *ethconf
|
|||
|
||||
// avoiding constructor changed by introducing new method to set genesis
|
||||
filterAPI.SetChainConfig(ethcfg.Genesis.Config)
|
||||
|
||||
return filterSystem
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -490,6 +490,7 @@ func TestInvalidGetLogsRequest(t *testing.T) {
|
|||
api = NewFilterAPI(sys, false, true)
|
||||
blockHash = common.HexToHash("0x1111111111111111111111111111111111111111111111111111111111111111")
|
||||
)
|
||||
|
||||
api.SetChainConfig(params.BorUnittestChainConfig)
|
||||
|
||||
// Reason: Cannot specify both BlockHash and FromBlock/ToBlock)
|
||||
|
|
|
|||
Loading…
Reference in a new issue