fix : lint

This commit is contained in:
Shivam Sharma 2023-08-28 17:55:31 +05:30
parent 1cee4dddb7
commit 9eb44ad01f
2 changed files with 2 additions and 0 deletions

View file

@ -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
}

View file

@ -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)