Fix MaxSealingSectrosForDeals getting reset to 0

This commit is contained in:
Łukasz Magiera 2020-11-17 00:28:49 +01:00
parent 49d3bb9497
commit dd9682f2be

View File

@ -720,6 +720,7 @@ func NewSetSealConfigFunc(r repo.LockedRepo) (dtypes.SetSealingConfigFunc, error
c.Sealing = config.SealingConfig{
MaxWaitDealsSectors: cfg.MaxWaitDealsSectors,
MaxSealingSectors: cfg.MaxSealingSectors,
MaxSealingSectorsForDeals: cfg.MaxSealingSectorsForDeals,
WaitDealsDelay: config.Duration(cfg.WaitDealsDelay),
}
})