From cf6937c77048602e0a96d155a5f46002096861d1 Mon Sep 17 00:00:00 2001 From: frrist Date: Tue, 30 Mar 2021 17:58:12 -0700 Subject: [PATCH] fix(tasks): use corret actor infor for actor state extraction - fixes #273 --- tasks/actorstate/task.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/actorstate/task.go b/tasks/actorstate/task.go index 00f41e033..0b2567083 100644 --- a/tasks/actorstate/task.go +++ b/tasks/actorstate/task.go @@ -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)