diff --git a/eth/api_backend.go b/eth/api_backend.go index 26511025c2..bf18c303c6 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -260,9 +260,6 @@ func (b *EthAPIBackend) GetReceipts(ctx context.Context, hash common.Hash) (type } func (b *EthAPIBackend) GetLogs(ctx context.Context, hash common.Hash, number uint64) ([][]*types.Log, error) { - if number < b.eth.blockchain.HistoryCutoff() { - return nil, &prunedHistoryError{} - } return rawdb.ReadLogs(b.eth.chainDb, hash, number), nil }