sturdypost: Small review cleanups

This commit is contained in:
Łukasz Magiera 2023-12-02 00:31:24 +01:00
parent 25f86a4636
commit fa269ed1b3
2 changed files with 3 additions and 9 deletions

View File

@ -350,12 +350,6 @@ func DefaultUserRaftConfig() *UserRaftConfig {
}
func DefaultLotusProvider() *LotusProviderConfig {
/*
reqs := map[string]*regexp.Regexp{}
for _, str := range LotusRequired {
reqs[str]=regexp.MustCompile("(?i)"+str)
}
*/
return &LotusProviderConfig{
Subsystems: ProviderSubsystemsConfig{},
Fees: LotusProviderFees{

View File

@ -428,9 +428,9 @@ func (t *WdPostTask) generateWindowPoSt(ctx context.Context, ppt abi.RegisteredP
wg.Wait()
/* if len(skipped) > 0 {
return nil, skipped, multierr.Append(xerrors.Errorf("some sectors (%d) were skipped", len(skipped)), retErr)
}*/
if len(skipped) > 0 {
log.Warnw("generateWindowPoSt skipped sectors", "skipped", len(skipped))
}
postProofs, err := ffi.MergeWindowPoStPartitionProofs(ppt, proofList)
if err != nil {