events: Fix Called handler

This commit is contained in:
Łukasz Magiera 2019-11-19 23:07:58 +01:00
parent ba5effe1f6
commit 582f8f9a14

View File

@ -87,9 +87,7 @@ func (e *calledEvents) headChangeCalled(rev, app []*types.TipSet) error {
e.handleReverts(ts)
}
tail := len(app) - 1
for i := range app {
ts := app[tail-i]
for _, ts := range app {
// called triggers
e.checkNewCalls(ts)