lint: update comments to match type declarations

This commit is contained in:
laser 2020-06-23 13:48:07 -07:00
parent 176d0bb7c0
commit 4c760ec1b1

View File

@ -10,20 +10,20 @@ import (
type MinerAddress address.Address type MinerAddress address.Address
type MinerID abi.ActorID type MinerID abi.ActorID
// AcceptingStorageDealsFunc is a function which reads from miner config to // AcceptingStorageDealsConfigFunc is a function which reads from miner config
// determine if the user has disabled storage deals (or not). // to determine if the user has disabled storage deals (or not).
type AcceptingStorageDealsConfigFunc func() (bool, error) type AcceptingStorageDealsConfigFunc func() (bool, error)
// SetAcceptingStorageDealsFunc is a function which is used to disable or enable // SetAcceptingStorageDealsConfigFunc is a function which is used to disable or
// storage deal acceptance. // enable storage deal acceptance.
type SetAcceptingStorageDealsConfigFunc func(bool) error type SetAcceptingStorageDealsConfigFunc func(bool) error
// AcceptingRetrievalDealsFunc is a function which reads from miner config to // AcceptingRetrievalDealsConfigFunc is a function which reads from miner config
// determine if the user has disabled retrieval acceptance (or not). // to determine if the user has disabled retrieval acceptance (or not).
type AcceptingRetrievalDealsConfigFunc func() (bool, error) type AcceptingRetrievalDealsConfigFunc func() (bool, error)
// SetAcceptingRetrievalDealsFunc is a function which is used to disable or enable // SetAcceptingRetrievalDealsConfigFunc is a function which is used to disable
// retrieval deal acceptance. // or enable retrieval deal acceptance.
type SetAcceptingRetrievalDealsConfigFunc func(bool) error type SetAcceptingRetrievalDealsConfigFunc func(bool) error
// StorageDealPieceCidBlocklistConfigFunc is a function which reads from miner config // StorageDealPieceCidBlocklistConfigFunc is a function which reads from miner config