getdeps
This commit is contained in:
parent
d7ea5561dc
commit
2618b963e7
@ -82,6 +82,11 @@ func StorageAuth(apiKey string) (sealer.StorageAuth, error) {
|
||||
return sealer.StorageAuth(headers), nil
|
||||
}
|
||||
|
||||
func GetDeps(ctx context.Context, cctx *cli.Context) (*Deps, error) {
|
||||
var deps *Deps
|
||||
return deps, deps.PopulateRemainingDeps(ctx, cctx, true)
|
||||
}
|
||||
|
||||
type Deps struct {
|
||||
Cfg *config.LotusProviderConfig
|
||||
DB *harmonydb.DB
|
||||
|
Loading…
Reference in New Issue
Block a user