From e4588aed5c0d258a68891da4dc0273ad2d779dba Mon Sep 17 00:00:00 2001 From: Lion Date: Mon, 7 Jun 2021 12:35:43 +0800 Subject: [PATCH] Fix the doc errors of the sealing config funcs --- node/modules/dtypes/miner.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/node/modules/dtypes/miner.go b/node/modules/dtypes/miner.go index 16af48add62..b7a1be2e19e 100644 --- a/node/modules/dtypes/miner.go +++ b/node/modules/dtypes/miner.go @@ -74,10 +74,12 @@ type ConsiderUnverifiedStorageDealsConfigFunc func() (bool, error) // disable or enable unverified storage deal acceptance. type SetConsiderUnverifiedStorageDealsConfigFunc func(bool) error -// SetSealingDelay sets how long a sector waits for more deals before sealing begins. +// SetSealingConfigFunc is a function which is used to +// sets the sealing config. type SetSealingConfigFunc func(sealiface.Config) error -// GetSealingDelay returns how long a sector waits for more deals before sealing begins. +// GetSealingConfigFunc is a function which is used to +// get the sealing config. type GetSealingConfigFunc func() (sealiface.Config, error) // SetExpectedSealDurationFunc is a function which is used to set how long sealing is expected to take.