Update cmd/lotus-storage-miner/run.go

Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
Whyrusleeping 2019-07-30 10:18:01 -07:00 committed by GitHub
parent ee224e5b21
commit eb854467c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ var runCmd = &cli.Command{
return lr.SetAPIEndpoint(apima)
}),
node.Override(new(*sectorbuilder.SectorBuilderConfig), modules.SectorBuilderConfig(storageRepoPath)),
node.Override(new(api.FullNode), func() api.FullNode { return nodeApi }),
node.Override(new(api.FullNode), nodeApi),
)
if err != nil {
return err