Skip to content

Commit

Permalink
fix(tasks): use corret actor infor for actor state extraction
Browse files Browse the repository at this point in the history
- fixes #273
  • Loading branch information
frrist committed Apr 14, 2021
1 parent ea7d7ce commit cf6937c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/actorstate/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ func (t *Task) runActorStateExtraction(ctx context.Context, ts *types.TipSet, pt
info := ActorInfo{
Actor: act,
Address: addr,
ParentStateRoot: pts.ParentState(),
ParentStateRoot: ts.ParentState(),
Epoch: ts.Height(),
TipSet: pts.Key(),
ParentTipSet: pts.Parents(),
TipSet: ts.Key(),
ParentTipSet: ts.Parents(),
}

extracter, ok := t.extracterMap.GetExtractor(act.Code)
Expand Down

0 comments on commit cf6937c

Please sign in to comment.