Skip to content

Commit

Permalink
sealing: fix lint/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Aug 9, 2022
1 parent 71dacb5 commit 581394a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/pipeline/precommit_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/filecoin-project/lotus/chain/actors/builtin"
"github.com/filecoin-project/lotus/chain/actors/policy"
"github.com/filecoin-project/lotus/chain/types"
"github.com/filecoin-project/lotus/node/modules/dtypes"
pipeline "github.com/filecoin-project/lotus/storage/pipeline"
"github.com/filecoin-project/lotus/storage/pipeline/sealiface"
)
Expand All @@ -30,7 +31,7 @@ type fakeConfigStub struct {
CCSectorLifetime time.Duration
}

func fakeConfigGetter(stub *fakeConfigStub) pipeline.GetSealingConfigFunc {
func fakeConfigGetter(stub *fakeConfigStub) dtypes.GetSealingConfigFunc {
return func() (sealiface.Config, error) {
if stub == nil {
return sealiface.Config{}, nil
Expand Down

0 comments on commit 581394a

Please sign in to comment.