forked from cerc-io/ipld-eth-server
Implement skip to next header on empty matchingLogs
This commit is contained in:
parent
33f1f62c11
commit
e7e511764e
@ -77,6 +77,8 @@ func (transformer Transformer) Execute() error {
|
|||||||
log.Printf("Error marking header as checked in %v: %v", transformerName, err)
|
log.Printf("Error marking header as checked in %v: %v", transformerName, err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
// Continue with the next header; nothing to persist
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
models, err := transformer.Converter.ToModels(matchingLogs)
|
models, err := transformer.Converter.ToModels(matchingLogs)
|
||||||
|
Loading…
Reference in New Issue
Block a user