mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix
This commit is contained in:
parent
afe965df35
commit
2242bc7aa8
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ func (s *historyTestSuite) testGetBlockByHash(t *utesting.T) {
|
|||
bhash := s.tests.BlockHashes[i]
|
||||
b, err := s.cfg.client.getBlockByHash(ctx, bhash, false)
|
||||
if err != nil {
|
||||
if rpcErr := err.(rpc.Error); rpcErr != nil && rpcErr.ErrorCode() == 4444 {
|
||||
if errIsPrunedHistory(err) {
|
||||
t.Logf("test case accessed pruned history")
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue