init map
This commit is contained in:
parent
ae60001dcc
commit
a293bd798f
@ -104,7 +104,7 @@ func (s *WindowPoStScheduler) checkRecoveries(ctx context.Context, deadline uint
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
var sectors map[abi.SectorID]struct{}
|
sectors := make(map[abi.SectorID]struct{})
|
||||||
var tocheck []abi.SectorID
|
var tocheck []abi.SectorID
|
||||||
err = unrecovered.ForEach(func(snum uint64) error {
|
err = unrecovered.ForEach(func(snum uint64) error {
|
||||||
s := abi.SectorID{
|
s := abi.SectorID{
|
||||||
|
Loading…
Reference in New Issue
Block a user