wdpost: append is hard
This commit is contained in:
parent
57c1eac37a
commit
26bbd9fb9d
@ -319,7 +319,7 @@ var bitFieldEncodeCmd = &cli.Command{
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
defer f.Close()
|
defer f.Close() // nolint
|
||||||
|
|
||||||
out := bitfield.New()
|
out := bitfield.New()
|
||||||
for {
|
for {
|
||||||
|
@ -479,7 +479,7 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di dline.Info, ts *ty
|
|||||||
}
|
}
|
||||||
|
|
||||||
sinfos = append(sinfos, ssi...)
|
sinfos = append(sinfos, ssi...)
|
||||||
partitions = append(params.Partitions, miner.PoStPartition{
|
partitions = append(partitions, miner.PoStPartition{
|
||||||
Index: uint64(batchPartitionStartIdx + partIdx),
|
Index: uint64(batchPartitionStartIdx + partIdx),
|
||||||
Skipped: skipped,
|
Skipped: skipped,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user