diff --git a/db2/raw.go b/db2/raw.go index 45f5c11427..7e6d3c1ab3 100644 --- a/db2/raw.go +++ b/db2/raw.go @@ -63,7 +63,7 @@ func (db RawStore) AddBlocks(blocks []FullBlockRawData) error { Data: traces, }, } - if len(fullBlock.Receipts) < 1 { + if len(fullBlock.Receipts) == 0 { // todo move that log higher up slog.Warn(fmt.Sprintf("empty receipts at block %d lRec %d lTxs %d", fullBlock.BlockNumber, len(fullBlock.Receipts), len(fullBlock.BlockTxs))) }