Skip to content

Commit

Permalink
fix: post: create skipped bitfield to avoid panics with faults (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k authored Oct 15, 2024
1 parent a488679 commit 5c1c70b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/window/compute_do.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ func (t *WdPostTask) DoPartition(ctx context.Context, ts *types.TipSet, maddr ad
}

postPartition = miner2.PoStPartition{
Index: partIdx,
Index: partIdx,
Skipped: bitfield.New(),
}

log.Infow("running window post",
Expand Down

0 comments on commit 5c1c70b

Please sign in to comment.