fix Receipt#EventsRoot is now *cid.Cid.

This commit is contained in:
Raúl Kripalani 2022-11-14 11:55:04 +00:00
parent a915c703a5
commit efdbea5b53

View File

@ -375,7 +375,11 @@ func (m *EventFilterManager) loadExecutedMessages(ctx context.Context, msgTs, rc
}
ems[i].rct = &rct
evtArr, err := blockadt.AsArray(st, rct.EventsRoot)
if rct.EventsRoot == nil {
continue
}
evtArr, err := blockadt.AsArray(st, *rct.EventsRoot)
if err != nil {
return nil, xerrors.Errorf("load events amt: %w", err)
}