Update comment in log chunker

Co-Authored-By: Edvard Hübinette <edvard@hubinette.me>
This commit is contained in:
Rob Mulholand 2019-08-14 12:19:51 -05:00
parent 63dabbb051
commit 1883a11ab1

View File

@ -51,7 +51,7 @@ func (chunker *LogChunker) AddConfig(transformerConfig transformer.EventTransfor
} }
} }
// Goes through an array of logs, associating relevant logs (matching addresses and topic) with transformers // Goes through a slice of logs, associating relevant logs (matching addresses and topic) with transformers
func (chunker *LogChunker) ChunkLogs(logs []core.HeaderSyncLog) map[string][]core.HeaderSyncLog { func (chunker *LogChunker) ChunkLogs(logs []core.HeaderSyncLog) map[string][]core.HeaderSyncLog {
chunks := map[string][]core.HeaderSyncLog{} chunks := map[string][]core.HeaderSyncLog{}
for _, log := range logs { for _, log := range logs {