Clean up unused code (#11900)

* Clean up unused code

* More unused

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terencechain
2023-01-25 11:09:14 +01:00
committed by GitHub
parent f9dd462338
commit 0a4b0a68d3
14 changed files with 5 additions and 236 deletions

View File

@@ -1470,7 +1470,7 @@ func TestHeaderByHash_NotFound(t *testing.T) {
srv := &Service{}
srv.rpcClient = RPCClientBad{}
_, err := srv.HeaderByHash(context.Background(), common.Hash([32]byte{}))
_, err := srv.HeaderByHash(context.Background(), [32]byte{})
assert.Equal(t, ethereum.NotFound, err)
}