From e54699c0396713acc46ee6cc44638e842cebe454 Mon Sep 17 00:00:00 2001 From: Edvard Date: Fri, 14 Dec 2018 15:22:46 +0100 Subject: [PATCH] Remove todo on chunker non-match (it's basically a filter) --- pkg/transformers/shared/log_chunker.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/transformers/shared/log_chunker.go b/pkg/transformers/shared/log_chunker.go index dea03a5b..b7373ff8 100644 --- a/pkg/transformers/shared/log_chunker.go +++ b/pkg/transformers/shared/log_chunker.go @@ -55,7 +55,6 @@ func (chunker *LogChunker) ChunkLogs(logs []types.Log) map[string][]types.Log { // Topic0 is not unique to each transformer, also need to consider the contract address relevantTransformers := chunker.AddressToNames[log.Address.String()] - // TODO What should happen if log can't be assigned? for _, transformer := range relevantTransformers { if chunker.NameToTopic0[transformer] == log.Topics[0] { chunks[transformer] = append(chunks[transformer], log)