From cf249eaff1e2440306631a1d8f98bf95d36981e1 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Wed, 12 Mar 2025 18:12:30 +0100 Subject: [PATCH] eth: remove redundant return of prunedHistoryError --- eth/api_backend.go | 3 --- 1 file changed, 3 deletions(-) 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 }