From 5a09b6496da48b627f88859bbf7613d2d93f8644 Mon Sep 17 00:00:00 2001 From: zenground0 Date: Mon, 10 Jan 2022 16:31:58 +0530 Subject: [PATCH] Actually read config value --- node/modules/storageminer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/modules/storageminer.go b/node/modules/storageminer.go index acae45e90..f4a2364fd 100644 --- a/node/modules/storageminer.go +++ b/node/modules/storageminer.go @@ -926,7 +926,7 @@ func ToSealingConfig(cfg *config.StorageMiner) sealiface.Config { MaxSealingSectors: cfg.Sealing.MaxSealingSectors, MaxSealingSectorsForDeals: cfg.Sealing.MaxSealingSectorsForDeals, StartEpochSealingBuffer: abi.ChainEpoch(cfg.Dealmaking.StartEpochSealingBuffer), - MakeNewSectorForDeals: true, + MakeNewSectorForDeals: cfg.Dealmaking.MakeNewSectorForDeals, CommittedCapacitySectorLifetime: time.Duration(cfg.Sealing.CommittedCapacitySectorLifetime), WaitDealsDelay: time.Duration(cfg.Sealing.WaitDealsDelay), AlwaysKeepUnsealedCopy: cfg.Sealing.AlwaysKeepUnsealedCopy,