wdpost: Correctly prove 0 sectors
This commit is contained in:
parent
56d13534b4
commit
4b74aa5768
@ -389,6 +389,11 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo
|
||||
}
|
||||
}
|
||||
|
||||
if len(sinfos) == 0 {
|
||||
// nothing to prove..
|
||||
return nil, errNoPartitions
|
||||
}
|
||||
|
||||
log.Infow("running windowPost",
|
||||
"chain-random", rand,
|
||||
"deadline", di,
|
||||
|
Loading…
Reference in New Issue
Block a user