Update storage/wdpost_run.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
parent
4e12c4cb69
commit
ddba20ccdf
@ -151,7 +151,7 @@ func (s *WindowPoStScheduler) checkNextRecoveries(ctx context.Context, deadline
|
||||
return xerrors.Errorf("checking unrecovered sectors: %w", err)
|
||||
}
|
||||
|
||||
// check some unrecovered sectors can not recovered (such as cache file is missing)
|
||||
// if all sectors failed to recover, don't declare recoveries
|
||||
sbfCount, err := sbf.Count()
|
||||
if err != nil {
|
||||
log.Errorf(" sbf.Count() | %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user