sturdypost: Small review cleanups
This commit is contained in:
parent
25f86a4636
commit
fa269ed1b3
@ -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{
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user